{"id":15011474,"url":"https://github.com/nhttp/benchmarks","last_synced_at":"2025-10-23T21:24:56.893Z","repository":{"id":144523085,"uuid":"610190422","full_name":"nhttp/benchmarks","owner":"nhttp","description":"Runtime JS/TS benchmarks (frameworks)","archived":false,"fork":false,"pushed_at":"2025-04-10T01:04:46.000Z","size":810,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T02:22:34.643Z","etag":null,"topics":["bunjs","deno","expressjs","nodejs"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nhttp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-06T09:23:01.000Z","updated_at":"2025-04-10T01:04:49.000Z","dependencies_parsed_at":"2023-09-24T05:18:43.975Z","dependency_job_id":"951b4cd3-054b-4e09-83db-9b729743cbc3","html_url":"https://github.com/nhttp/benchmarks","commit_stats":{"total_commits":585,"total_committers":2,"mean_commits":292.5,"dds":0.05470085470085473,"last_synced_commit":"14d711448ee2157730d59d1ce71b88989c04ed08"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nhttp%2Fbenchmarks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nhttp%2Fbenchmarks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nhttp%2Fbenchmarks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nhttp%2Fbenchmarks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nhttp","download_url":"https://codeload.github.com/nhttp/benchmarks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248514221,"owners_count":21116899,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bunjs","deno","expressjs","nodejs"],"created_at":"2024-09-24T19:41:08.278Z","updated_at":"2025-10-23T21:24:56.887Z","avatar_url":"https://github.com/nhttp.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Runtime JS/TS benchmarks.\n\n\u003e Focus on framework features.\n\nExample code for benchmark.\n```ts\n// GET /\nframework.get(\"/\", (req, res) =\u003e {\n  res.send(\"home\");\n});\n\n// GET /blog/99?title=bench (params and queryParams)\nframework.get(\"/blog/:id\", (req, res) =\u003e {\n  const data = `${req.params.id} ${req.query.title}`;\n  res.send(data);\n});\n\n// GET /api/user (set header \u0026 send json)\nframework.get(\"/api/user\", (req, res) =\u003e {\n  res.setHeader(\"x-powered-by\", \"bench\");\n  res.json({ user: \"john\" });\n});\n```\n\n## Output\nCreated At : Sat Jun 21 2025, 1:01:41 AM\n\nCreated By : [bot_ci](https://github.com/herudi/deno_benchmarks/commits?author=github-actions%5Bbot%5D)\n\n\n### Deno\n|Name|AVG|GET /|GET /blog/:id|GET /api/user|\n|----|----|----|----|----|\n|[nhttp](https://github.com/nhttp/nhttp)|60036|65587|61800|52722|\n|[hono](https://github.com/honojs/hono)|57398|62375|59424|50394|\n|[fast](https://github.com/danteissaias/fast)|52433|58307|46750|52241|\n|[oak](https://github.com/oakserver/oak)|27971|29133|27094|27685|\n  \n\n\n### Node\n|Name|AVG|GET /|GET /blog/:id|GET /api/user|\n|----|----|----|----|----|\n|[nhttp](https://github.com/nhttp/nhttp)|39430|45418|37917|34955|\n|[fastify](https://github.com/fastify/fastify)|24707|24610|25791|23719|\n|[koa](https://github.com/koajs/koa)|16930|17029|17091|16670|\n|[express](https://github.com/expressjs/express)|6461|6653|6195|6536|\n  \n\n\n### Bun\n|Name|AVG|GET /|GET /blog/:id|GET /api/user|\n|----|----|----|----|----|\n|[elysia](https://github.com/elysiajs/elysia)|85136|96264|79968|79175|\n|[nhttp](https://github.com/nhttp/nhttp)|69419|88421|60377|59459|\n|[hono](https://github.com/honojs/hono)|63992|74838|60682|56457|\n|[baojs](https://github.com/mattreid1/baojs)|50536|53293|48689|49625|\n  \n\n\n\n## Usage\n\n```bash\ngit clone https://github.com/herudi/deno_benchmark.git\ncd deno_benchmark\n\n// for_all\ndeno task bench\n\n// for_single\ndeno task bench framework_name\n```\n\n## License\n\n[MIT](LICENSE)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnhttp%2Fbenchmarks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnhttp%2Fbenchmarks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnhttp%2Fbenchmarks/lists"}