{"id":20752178,"url":"https://github.com/ynwd/benchmarks","last_synced_at":"2025-10-13T15:11:06.201Z","repository":{"id":122402454,"uuid":"369684607","full_name":"ynwd/benchmarks","owner":"ynwd","description":"net/http vs fastrex vs node vs express","archived":false,"fork":false,"pushed_at":"2021-06-24T01:26:18.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-15T23:44:40.647Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/ynwd.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}},"created_at":"2021-05-22T00:44:17.000Z","updated_at":"2022-03-26T16:24:01.000Z","dependencies_parsed_at":"2024-04-06T06:03:24.925Z","dependency_job_id":"d1ca4b2a-a92e-48ba-b0bc-2d67f26462e2","html_url":"https://github.com/ynwd/benchmarks","commit_stats":null,"previous_names":["fastrodev/benchmarks"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ynwd/benchmarks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ynwd%2Fbenchmarks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ynwd%2Fbenchmarks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ynwd%2Fbenchmarks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ynwd%2Fbenchmarks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ynwd","download_url":"https://codeload.github.com/ynwd/benchmarks/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ynwd%2Fbenchmarks/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279015904,"owners_count":26085777,"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-10-13T02:00:06.723Z","response_time":61,"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":[],"created_at":"2024-11-17T08:40:06.637Z","updated_at":"2025-10-13T15:11:06.170Z","avatar_url":"https://github.com/ynwd.png","language":"Go","readme":"# Benchmarks\n\nBenchmark results depend on your machine. To generate in your local machine, you\nmust install [`wrk`](https://github.com/wg/wrk), clone, and setup this repo.\n\n```\ngit clone git@github.com:fastrodev/benchmarks.git\ncd benchmarks\nmake benchmark\n```\n\n## Fastrex\n\nSource code: [`fastrex/main.go`](fastrex/main.go)\\\nCommand: `wrk http://localhost:9000`\\\nResults:\n\n```\nRunning 10s test @ http://localhost:9000\n  2 threads and 10 connections\n  Thread Stats   Avg      Stdev     Max   +/- Stdev\n    Latency    88.76us   93.19us   6.64ms   97.45%\n    Req/Sec    48.11k     3.78k   62.87k    82.09%\n  961962 requests in 10.10s, 111.01MB read\nRequests/sec:  95249.11\nTransfer/sec:     10.99MB\n\n```\n\n## Standard net/http\n\nSource code: [`standard/main.go`](standard/main.go)\\\nCommand: `wrk http://localhost:9001`\\\nResults:\n\n```\nRunning 10s test @ http://localhost:9001\n  2 threads and 10 connections\n  Thread Stats   Avg      Stdev     Max   +/- Stdev\n    Latency    92.94us   40.07us   1.10ms   90.95%\n    Req/Sec    44.56k     2.01k   54.48k    75.00%\n  887011 requests in 10.00s, 108.28MB read\nRequests/sec:  88700.49\nTransfer/sec:     10.83MB\n\n```\n\n## Standard Node.js\n\nSource code: [`node/main.js`](node/main.js)\\\nCommand: `wrk http://localhost:3001`\\\nResults:\n\n```\nRunning 10s test @ http://localhost:3001\n  2 threads and 10 connections\n  Thread Stats   Avg      Stdev     Max   +/- Stdev\n    Latency   208.46us  259.72us  13.17ms   98.21%\n    Req/Sec    25.48k     3.53k   29.58k    86.63%\n  512034 requests in 10.10s, 65.43MB read\nRequests/sec:  50696.05\nTransfer/sec:      6.48MB\n\n```\n\n## Express.js\n\nSource code: [`express/main.js`](express/main.js)\\\nCommand: `wrk http://localhost:3000`\\\nResults:\n\n```\nRunning 10s test @ http://localhost:3000\n  2 threads and 10 connections\n  Thread Stats   Avg      Stdev     Max   +/- Stdev\n    Latency     1.16ms  672.19us  21.38ms   92.83%\n    Req/Sec     4.53k   809.90     5.42k    84.16%\n  90991 requests in 10.10s, 20.74MB read\nRequests/sec:   9006.68\nTransfer/sec:      2.05MB\n\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fynwd%2Fbenchmarks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fynwd%2Fbenchmarks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fynwd%2Fbenchmarks/lists"}