To evaluate Worker performance, I’ve written a very simple worker application which simply waits for a request then responds with “hello world” and some headers.
After hitting refresh a few times to warm up the worker, I can see that Time To First Byte (TTFB) is around 30 - 40 milliseconds.
Now this is very impressive response times compared to going back to origin, but it still seems quite slow for a function that takes single digit milliseconds to execute.
Is a TTFB of 30 - 40 milliseconds typical for a simple “hello world” type setup? I’m using the free plan which perhaps makes a difference? Or is it possible to tune this down even further?
I appreciate 30 - 40ms for TTFB is exceptionally good compared to other server options, but I’m curious to know just how far we can push the responsiveness of our web applications on Cloudflare Workers…