Benchmarks


This is the final output of an internal benchmark run in github action on 2/24/2024, 12:12:43 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 55339 100% oha -j --no-tui -z 10s http://localhost:8000
string_response 50791 92% oha -j --no-tui -z 10s http://localhost:8000
raw_string 50612 91% oha -j --no-tui -z 10s http://localhost:8000
group 50112 91% oha -j --no-tui -z 10s http://localhost:8000/api/user
ctx_string 49802 90% oha -j --no-tui -z 10s http://localhost:8000
raw_json 49583 90% oha -j --no-tui -z 10s http://localhost:8000
ctx_json 48643 88% oha -j --no-tui -z 10s http://localhost:8000
params_query 47802 86% oha -j --no-tui -z 10s http://localhost:8000/agus?title=lead
ctx_jsx 46119 83% oha -j --no-tui -z 10s http://localhost:8000
app_middleware 42268 76% oha -j --no-tui -z 10s http://localhost:8000
deno_sqlite 35502 64% oha -j --no-tui -z 10s http://localhost:8000
server_rendering 35020 63% oha -j --no-tui -z 10s http://localhost:8000
markdown_middleware 26218 47% oha -j --no-tui -z 10s http://localhost:8000/blog/hello
deno_kv 20205 37% oha -j --no-tui -z 10s http://localhost:8000/user?name=john
deno_postgres 18401 33% oha -j --no-tui -z 10s http://localhost:8000
deno_mongo 14389 26% oha -j --no-tui -z 10s http://localhost:8000
deno_redis 10368 19% oha -j --no-tui -z 10s http://localhost:8000
deno_mysql 9972 18% oha -j --no-tui -z 10s http://localhost:8000
oauth 5525 10% oha -j --no-tui -z 10s http://localhost:8000
route_middleware 4938 9% oha -j --no-tui -z 10s http://localhost:8000
static_file_image 2065 4% oha -j --no-tui -z 10s http://localhost:8000/static/favicon.ico
static_file_string 2001 4% 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.