A cloudflare worker to generate OpenGraph banner, configured specifically for Digital Desa Profile Website.
Using Hono for edge framework, while Go is used to draw the image.
Benchmark | Result |
---|---|
Drawing directly | 0.262145631 s/op |
Base64 decoding + drawing | 0.314484976 s/op |
E2E (direct request) | 1.271148737 s/op |
There is a huge inefficiency in data conversion and bridge usage on E2E process, hence the need to improve the performance of the implementation, specifically on how javascript and Go passing data to each other.