{"id":15963844,"url":"https://github.com/bifot/native-http-vs-koa2","last_synced_at":"2025-08-08T05:11:06.495Z","repository":{"id":95882060,"uuid":"161365799","full_name":"bifot/native-http-vs-koa2","owner":"bifot","description":"Performance check between native http module vs koa2.","archived":false,"fork":false,"pushed_at":"2018-12-11T16:58:21.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-04T12:51:21.276Z","etag":null,"topics":["api","benchmarks","http","koa","koa2","nodejs","performance","rest"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bifot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-12-11T16:55:03.000Z","updated_at":"2018-12-11T16:58:23.000Z","dependencies_parsed_at":"2023-04-12T15:52:37.615Z","dependency_job_id":null,"html_url":"https://github.com/bifot/native-http-vs-koa2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bifot/native-http-vs-koa2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bifot%2Fnative-http-vs-koa2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bifot%2Fnative-http-vs-koa2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bifot%2Fnative-http-vs-koa2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bifot%2Fnative-http-vs-koa2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bifot","download_url":"https://codeload.github.com/bifot/native-http-vs-koa2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bifot%2Fnative-http-vs-koa2/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269366853,"owners_count":24405250,"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","status":"online","status_checked_at":"2025-08-08T02:00:09.200Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["api","benchmarks","http","koa","koa2","nodejs","performance","rest"],"created_at":"2024-10-07T17:00:37.473Z","updated_at":"2025-08-08T05:11:06.451Z","avatar_url":"https://github.com/bifot.png","language":"Shell","readme":"# native-http-vs-koa2\n\nPerformance check between native http module vs koa2.\n\n## Servers\n\n```js\nconst http = require('http');\n\nconst app = http.createServer((req, res) =\u003e {\n  res.end('Hello, world!');\n});\n\napp.listen(process.env.PORT);\n```\n\nvs\n\n```js \nconst Koa = require('koa');\n\nconst app = new Koa();\n\napp.use((ctx) =\u003e {\n  ctx.body = 'Hello, world!';\n});\n\napp.listen(process.env.PORT);\n```\n\n## Benchmarks\n\n```sh\n$ node -v                    # v8.12.0\n$ bash ./benchmarks/http.sh  # 104099 requests for 5 seconds\n$ bash ./benchmarks/koa.sh   # 87970  requests for 5 seconds \n```\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbifot%2Fnative-http-vs-koa2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbifot%2Fnative-http-vs-koa2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbifot%2Fnative-http-vs-koa2/lists"}