jasonraimondi / url-to-png

Selfhosted. URL to PNG utility featuring parallel rendering using Playwright for screenshots and with storage caching via Local, S3, or CouchDB
https://jasonraimondi.github.io/url-to-png/
MIT License
134 stars 25 forks source link

Proposal: support ServerTiming in http response #46

Open AnnatarHe opened 1 month ago

AnnatarHe commented 1 month ago

Hi @jasonraimondi ,

I noticed that the ServerTiming exists in web standard. Do you have any plan to support this feature? since the headless browser is slow. maybe it's useful to find potential performance issues.

for example:

alloc;dur=100,
webpage.goto;dur=20.1,
webpage.screenshot;dur=322.222,
resize;dur=189
jasonraimondi commented 1 month ago

This is pretty interesting, I haven’t heard of it before, but it looks like it could be useful. I’ll take a look into this when I get some free time.