{"id":28945858,"url":"https://github.com/tuono-labs/tuono-benchmarks","last_synced_at":"2025-07-02T08:36:28.558Z","repository":{"id":271082527,"uuid":"912351881","full_name":"tuono-labs/tuono-benchmarks","owner":"tuono-labs","description":"📈 This repo includes multiple setups to compare the HTTP performance against tuono and other frameworks","archived":false,"fork":false,"pushed_at":"2025-02-02T17:06:59.000Z","size":116,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-23T07:14:51.961Z","etag":null,"topics":["benchmarks","framework","nextjs","tuono"],"latest_commit_sha":null,"homepage":"","language":"CSS","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/tuono-labs.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":"2025-01-05T10:37:52.000Z","updated_at":"2025-03-14T06:48:52.000Z","dependencies_parsed_at":"2025-01-05T11:28:44.710Z","dependency_job_id":"4355e6b7-8e3f-4f23-95af-1110a55d158c","html_url":"https://github.com/tuono-labs/tuono-benchmarks","commit_stats":null,"previous_names":["tuono-labs/tuono-benchmarks"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tuono-labs/tuono-benchmarks","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuono-labs%2Ftuono-benchmarks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuono-labs%2Ftuono-benchmarks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuono-labs%2Ftuono-benchmarks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuono-labs%2Ftuono-benchmarks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tuono-labs","download_url":"https://codeload.github.com/tuono-labs/tuono-benchmarks/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuono-labs%2Ftuono-benchmarks/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261453623,"owners_count":23160563,"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":["benchmarks","framework","nextjs","tuono"],"created_at":"2025-06-23T07:14:51.508Z","updated_at":"2025-07-02T08:36:28.546Z","avatar_url":"https://github.com/tuono-labs.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tuono benchmarks\n\nThis repository contains various setups to compare the HTTP performance of Tuono with other frameworks. Please refer to the [`benchmarks`](./benchmarks/) directory for more details.\n\nThe main goal is to make the comparison as fair as possible enhancing each framework specific\nperformance improvements.\n\nAny improvement to the benchmarks or implementation of a different framework is strongly appreciated.\n\nFeel free also to try it with your hardware and open an issue in case you spot significant different results.\n\n## Benchmark setup\n\nIn order to make each comparison as fair as possible each framework should contain a single server side\nrendered page that requires data from the backend service.\n\nThe data returned by the backend service should be a JSON including a random number between 0 and 10.\n\n```json\n{\n  \"data\": 0\n}\n```\n\nThe benchmark is triggered by running the production server and querying the `/` endpoint with [wrk](https://github.com/wg/wrk) to simulate a heavy network load on the application.\n\n## Last benchmarked version results\n\n[v0.17.0](/benchmarks/v0.17.0)\n\n### Tuono\n\n```sh\ntuono build\ncargo run --release\n```\n\n```sh\nwrk -t12 -c400 -d30s http://localhost:3000/\n```\n\n```text\nRunning 30s test @ http://localhost:3000/\n  12 threads and 400 connections\n  Thread Stats   Avg      Stdev     Max   +/- Stdev\n    Latency    10.10ms    8.60ms 328.41ms   92.91%\n    Req/Sec     3.47k   369.32     4.35k    92.02%\n  1241083 requests in 30.02s, 700.90MB read\nRequests/sec:  41341.09\nTransfer/sec:     23.35MB\n```\n\n### NextJs pages router\n\n```sh\npnpm build\npm2 start ./ecosystem.config.js\n```\n\n```sh\nwrk -t12 -c400 -d30s http://localhost:3000/\n```\n\n```text\nRunning 30s test @ http://localhost:3000/\n  12 threads and 400 connections\n  Thread Stats   Avg      Stdev     Max   +/- Stdev\n    Latency    40.86ms   36.33ms 964.36ms   97.35%\n    Req/Sec     0.88k   141.64     2.36k    82.48%\n  311635 requests in 30.08s, 445.20MB read\nRequests/sec:  10358.80\nTransfer/sec:     14.80MB\n```\n\n### NextJs app router\n\n```sh\npnpm build\npm2 start ./ecosystem.config.js\n```\n\n```sh\nwrk -t12 -c400 -d30s http://localhost:3000/\n```\n\n```text\nRunning 30s test @ http://localhost:3000/\n  12 threads and 400 connections\n  Thread Stats   Avg      Stdev     Max   +/- Stdev\n    Latency    39.96ms   22.27ms 676.87ms   92.92%\n    Req/Sec     0.86k   156.94     1.44k    80.99%\n  306113 requests in 30.10s, 437.31MB read\nRequests/sec:  10170.10\nTransfer/sec:     14.53MB\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuono-labs%2Ftuono-benchmarks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftuono-labs%2Ftuono-benchmarks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuono-labs%2Ftuono-benchmarks/lists"}