bun-http-framework-benchmark
bun-http-framework-benchmark copied to clipboard
Compare throughput benchmark from various Bun HTTP framework
Maybe write a TODO app for each framework with some authentications. See how hard it is to write a simple TODO app and compare the performance (signup/login API and rendering)
> For example, Hono on Bun looks like it performs badly. But just go to src/bun/hono.ts and change the export to export default { ...app, host: '127.0.0.1' } (instead of...
https://h3.unjs.io/adapters/bun
Would be nice to see [HatTip](https://github.com/hattipjs/hattip/) in the benchmark, as well. HatTip is [particularly suited for Vite](https://github.com/honojs/hono/issues/408), and is [more standards focused](https://github.com/honojs/hono/issues/443#issuecomment-1455095202) than Hono.
As per title
Hi there, just sharing some data for comparison. My results are a bit closer to https://web-frameworks-benchmark.netlify.app/ and from https://fastify.dev/benchmarks/ then yours. I think Windows might be a huge bias. Intel(R)...
## Steps to reproduce 1. install bun v0.7.2 2. `bun install` 3. `bun run benchmark` ## Output ``` >>> bun run benchmark $ node bench.mjs 30 frameworks - bun/baojs -...
I adjusted the body.json payload to a more realistic response from your current api and got the following results: | Framework | Average | Get (/) | Params, query &...