Benchmarks


This is the final output of an internal benchmark run in github action on 5/22/2024, 12:29:12 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_postgres 62198 100% oha -j --no-tui -z 10s http://localhost:8000
deno_mysql 61022 98% oha -j --no-tui -z 10s http://localhost:8000
deno_sqlite 60949 98% oha -j --no-tui -z 10s http://localhost:8000
deno_mongo 60856 98% oha -j --no-tui -z 10s http://localhost:8000
deno_redis 60796 98% oha -j --no-tui -z 10s http://localhost:8000
deno 58495 94% oha -j --no-tui -z 10s http://localhost:8000
string_response 51764 83% oha -j --no-tui -z 10s http://localhost:8000
ctx_json 51172 82% oha -j --no-tui -z 10s http://localhost:8000
ctx_string 51041 82% oha -j --no-tui -z 10s http://localhost:8000
raw_string 50984 82% oha -j --no-tui -z 10s http://localhost:8000
group 50959 82% oha -j --no-tui -z 10s http://localhost:8000/api/user
raw_json 49348 79% oha -j --no-tui -z 10s http://localhost:8000
params_query 48340 78% oha -j --no-tui -z 10s http://localhost:8000/agus?title=lead
ctx_jsx 46767 75% oha -j --no-tui -z 10s http://localhost:8000
app_middleware 42792 69% oha -j --no-tui -z 10s http://localhost:8000
server_rendering 25463 41% oha -j --no-tui -z 10s http://localhost:8000
deno_kv 20747 33% oha -j --no-tui -z 10s http://localhost:8000/user?name=john
markdown_middleware 19242 31% oha -j --no-tui -z 10s http://localhost:8000/blog/hello
oauth 9917 16% oha -j --no-tui -z 10s http://localhost:8000
route_middleware 5022 8% oha -j --no-tui -z 10s http://localhost:8000
static_file_image 1758 3% oha -j --no-tui -z 10s http://localhost:8000/static/favicon.ico
static_file_string 1680 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.