Benchmarks

This is the final output of an internal benchmark run in github action

This is the final output of an internal benchmark run in github action on 9/7/2025, 9:47:42 PM. 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_redis 301077 100% oha -j --no-tui -z 10s http://localhost:8000
deno_postgres 297566 99% oha -j --no-tui -z 10s http://localhost:8000
deno_mysql 296076 98% oha -j --no-tui -z 10s http://localhost:8000
deno_mongo 288358 96% oha -j --no-tui -z 10s http://localhost:8000
string_response 104140 35% oha -j --no-tui -z 10s http://localhost:8000
raw_string 76942 26% oha -j --no-tui -z 10s http://localhost:8000
group 76131 25% oha -j --no-tui -z 10s http://localhost:8000/api/user
ctx_string 75518 25% oha -j --no-tui -z 10s http://localhost:8000
params_query 73601 24% oha -j --no-tui -z 10s http://localhost:8000/agus?title=lead
ctx_jsx 70221 23% oha -j --no-tui -z 10s http://localhost:8000
app_middleware 65691 22% oha -j --no-tui -z 10s http://localhost:8000
deno_sqlite 65544 22% oha -j --no-tui -z 10s http://localhost:8000
raw_json 64972 22% oha -j --no-tui -z 10s http://localhost:8000
ctx_json 61889 21% oha -j --no-tui -z 10s http://localhost:8000
server_rendering 59572 20% oha -j --no-tui -z 10s http://localhost:8000
deno 55683 18% oha -j --no-tui -z 10s http://localhost:8000
deno_kv 48391 16% oha -j --no-tui -z 10s http://localhost:8000/user?name=john
oauth 43498 14% oha -j --no-tui -z 10s http://localhost:8000
static_file_string 36179 12% oha -j --no-tui -z 10s http://localhost:8000/static/tailwind.css
markdown_middleware 35286 12% oha -j --no-tui -z 10s http://localhost:8000/blog/hello
route_middleware 34762 12% oha -j --no-tui -z 10s http://localhost:8000
static_file_image 32826 11% oha -j --no-tui -z 10s http://localhost:8000/static/favicon.ico