Benchmarks


This is the final output of an internal benchmark run in github action on 5/2/2024, 12:54:47 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 58183 100% oha -j --no-tui -z 10s http://localhost:8000
raw_string 51305 88% oha -j --no-tui -z 10s http://localhost:8000
string_response 50963 88% oha -j --no-tui -z 10s http://localhost:8000
ctx_string 50920 88% oha -j --no-tui -z 10s http://localhost:8000
group 50801 87% oha -j --no-tui -z 10s http://localhost:8000/api/user
raw_json 50223 86% oha -j --no-tui -z 10s http://localhost:8000
ctx_json 48859 84% oha -j --no-tui -z 10s http://localhost:8000
params_query 48209 83% oha -j --no-tui -z 10s http://localhost:8000/agus?title=lead
ctx_jsx 47060 81% oha -j --no-tui -z 10s http://localhost:8000
app_middleware 43122 74% oha -j --no-tui -z 10s http://localhost:8000
deno_sqlite 41079 71% oha -j --no-tui -z 10s http://localhost:8000
server_rendering 25839 44% oha -j --no-tui -z 10s http://localhost:8000
static_file_image 24326 42% oha -j --no-tui -z 10s http://localhost:8000/static/favicon.ico
deno_kv 20647 35% oha -j --no-tui -z 10s http://localhost:8000/user?name=john
markdown_middleware 20387 35% oha -j --no-tui -z 10s http://localhost:8000/blog/hello
deno_redis 15927 27% oha -j --no-tui -z 10s http://localhost:8000
deno_mongo 14997 26% oha -j --no-tui -z 10s http://localhost:8000
oauth 13268 23% oha -j --no-tui -z 10s http://localhost:8000
deno_postgres 8821 15% oha -j --no-tui -z 10s http://localhost:8000
deno_mysql 8056 14% oha -j --no-tui -z 10s http://localhost:8000
route_middleware 4661 8% oha -j --no-tui -z 10s http://localhost:8000
static_file_string 1654 3% oha -j --no-tui -z 10s http://localhost:8000/static/tailwind.css
Fastro Framework is free and open source. Powered by Deno Deploy. Requests per second (RPS) for each use case is monitored daily through internal benchmarks.