3 ms·
You would be otherwise just benchmarking the slow service if you benchmarked it any other way
by tayo42 1y ago
You would be otherwise just benchmarking the slow service if you benchmarked it any other way
- koakuma-chan 1y agoWhat is being benchmarked there anyway? Receiving a request from the underlying HTTP library, calling the user's handler function, and passing the response back to the HTTP library? Hono, Elysia, PrinceJS... all these "frameworks" really are just routers, and Bun comes with its own router.
- ricardobeat 1y agoNo, you would be benchmarking the overhead of juggling several requests in flight, I/O and memory usage, which is what really distinguishes servers in terms of performance.