This is the final output of an internal benchmark run in github action on 7/27/2024, 4:30:36 AM. It consists of several simple applications for specific purpose. Each is then accessed by the OHA within 10s. The results are then sorted by the fastest.

You can find the benchmark script in this code: run.ts

Benchmark results

module rps % oha cmd
deno 55564 100% oha -j --no-tui -z 10s http://localhost:8000
string_response 49481 89% oha -j --no-tui -z 10s http://localhost:8000
ctx_string 48926 88% oha -j --no-tui -z 10s http://localhost:8000
raw_string 48761 88% oha -j --no-tui -z 10s http://localhost:8000
ctx_json 48033 86% oha -j --no-tui -z 10s http://localhost:8000
raw_json 47959 86% oha -j --no-tui -z 10s http://localhost:8000
group 47922 86% oha -j --no-tui -z 10s http://localhost:8000/api/user
params_query 47610 86% oha -j --no-tui -z 10s http://localhost:8000/agus?title=lead
ctx_jsx 44966 81% oha -j --no-tui -z 10s http://localhost:8000
app_middleware 41598 75% oha -j --no-tui -z 10s http://localhost:8000
deno_sqlite 34169 61% oha -j --no-tui -z 10s http://localhost:8000
server_rendering 24194 44% oha -j --no-tui -z 10s http://localhost:8000
deno_kv 19957 36% oha -j --no-tui -z 10s http://localhost:8000/user?name=john
deno_mysql 12886 23% oha -j --no-tui -z 10s http://localhost:8000
deno_mongo 12360 22% oha -j --no-tui -z 10s http://localhost:8000
markdown_middleware 12197 22% oha -j --no-tui -z 10s http://localhost:8000/blog/hello
deno_redis 8816 16% oha -j --no-tui -z 10s http://localhost:8000
deno_postgres 7203 13% oha -j --no-tui -z 10s http://localhost:8000
oauth 7082 13% oha -j --no-tui -z 10s http://localhost:8000
route_middleware 4360 8% oha -j --no-tui -z 10s http://localhost:8000
static_file_image 1686 3% oha -j --no-tui -z 10s http://localhost:8000/static/favicon.ico
static_file_string 1629 3% oha -j --no-tui -z 10s http://localhost:8000/static/tailwind.css
Fastro Framework is free and open source full stack web framework for Deno, TypeScript, Preact JS, and Tailwind CSS. Made with ♡ in Tulungagung