{"id":15097785,"url":"https://github.com/stamper/yao-benchmark","last_synced_at":"2026-02-24T06:05:56.037Z","repository":{"id":221480931,"uuid":"754514072","full_name":"Stamper/yao-benchmark","owner":"Stamper","description":"Performance comparison test","archived":false,"fork":false,"pushed_at":"2024-02-12T05:44:24.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-01T17:44:33.652Z","etag":null,"topics":["bun","deno","django","elysiajs","expressjs","fastapi","fastifyjs","flask","koajs","mojo","nodejs","python"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Stamper.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}},"created_at":"2024-02-08T08:07:18.000Z","updated_at":"2024-02-09T06:55:38.000Z","dependencies_parsed_at":"2024-02-10T12:21:05.278Z","dependency_job_id":"c3e6f725-4570-43d5-a945-289fe12b6fd5","html_url":"https://github.com/Stamper/yao-benchmark","commit_stats":null,"previous_names":["stamper/yao-benchmark"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stamper%2Fyao-benchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stamper%2Fyao-benchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stamper%2Fyao-benchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stamper%2Fyao-benchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Stamper","download_url":"https://codeload.github.com/Stamper/yao-benchmark/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245853952,"owners_count":20683272,"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":["bun","deno","django","elysiajs","expressjs","fastapi","fastifyjs","flask","koajs","mojo","nodejs","python"],"created_at":"2024-09-25T16:40:30.784Z","updated_at":"2025-10-24T07:29:47.469Z","avatar_url":"https://github.com/Stamper.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# yao-benchmark\nYet another one benchmark (that nobody asked for)\n### Long story short\n\u003cdetails\u003e\n\u003csummary\u003eResults table\u003c/summary\u003e\nBest result for each framework powered by 1 worker.\n\n| Framework   | Runtime | Server   | RPM [^1] | L [^2] | CPU% [^3] | Mem% [^3] |\n|-------------|---------|----------|----------|--------|-----------|-----------|\n| Flask-RESTX | py310   | Gunicorn | xxx      | xx     | 30        | 10        |\n\u003c/details\u003e\n\nThe full data set is presented in this [google spreadsheet](https://docs.google.com/spreadsheets/d/1Cojv3-i-Jp5OBe26qyfy-kO59fkgCiZMujKfK0i-G1U/edit?usp=sharing).\n\n*All the boring details can be found below.*\n\n[^1]: Requests per minute measured by Locust\n\n[^2]: Number of lines of code excluding initial bootstrap (like `startproject` in Django)\n\n[^3]: CPU and Memory consumption measured by `htop` tool during the test\n\n### Server\n- Dell Inspiron 3511 / Core i3-1115G4 / 32GB / SSD\n- xUbuntu 22.04.3 LTS\n#### Tools\n```\npyenv 2.3.35\nnvm 0.39.7\n```\n#### Runtimes\n```\nPython:\n- 3.10.13\n- 3.12.1\nPypy 3.10-7.3.15\nMojo 0.7.0\nNodeJS:\n- 18.19.0\n- 20.11.0\nDeno 1.40.3\nBun 1.0.26\n```\n#### Python servers\n```\nGunicorn 21.2.0\nUvicorn 0.27.0.post1\nHypercorn 0.16.0\n```\n#### Python frameworks\n```\nFlask 3.0.2\nDjango 5.0.2\nStarlette 0.36.3\n```\n#### Python REST-API\n```\nFlask-RESTX 1.3.0\nDjango REST framework 3.14.0\nDjango Ninja 1.1.0\nFastAPI 0.109.2\nBlacksheep 2.0.6\n```\n#### JS/TS frameworks\n```\nExpress 4.18.2\nKoa 2.15.0\nFastify 4.26.0\nDeno 1.40.30\nElysia 1.0.50\n```\n#### Mojo framework\n```\nLightbug 0.1.1-alpha\n```\n### Testing environment\n```\nDell Latitude 5440 / Core i7-1365U / 32GB / SSD\nUbuntu 22.04.3 LTS\nPython 3.10.12\nLocust 2.22.0 (10 Workers, 100 users)\n```\n### Network\n```\nTP-Link TL-WR940N\n```\n### Testing scenario\n```\nRequest: POST /api/\n{\n  \"payload\": \"\u003cUUID4\u003e\"\n}\n\nResponse: 200 OK\n{\n  \"result\": \"\u003cSHA3_512(payload)\u003e\"\n}\n```\n### Locust configuration\n```\n$ cd locust \u0026\u0026 locust --master\n$ cd locust \u0026\u0026 locust --worker  # 10 times\n```\n### Conclusion\nI really appreciate you've got this long. No conclusions, the numbers speaks for itself.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstamper%2Fyao-benchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstamper%2Fyao-benchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstamper%2Fyao-benchmark/lists"}