Benchmarks


This is the final output of an internal benchmark run in github action on 4/29/2024, 12:55:52 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 62212 100% oha -j --no-tui -z 10s http://localhost:8000
raw_string 51758 83% oha -j --no-tui -z 10s http://localhost:8000
group 51237 82% oha -j --no-tui -z 10s http://localhost:8000/api/user
string_response 50415 81% oha -j --no-tui -z 10s http://localhost:8000
ctx_json 50207 81% oha -j --no-tui -z 10s http://localhost:8000
ctx_string 50191 81% oha -j --no-tui -z 10s http://localhost:8000
raw_json 49842 80% oha -j --no-tui -z 10s http://localhost:8000
params_query 47948 77% oha -j --no-tui -z 10s http://localhost:8000/agus?title=lead
ctx_jsx 46102 74% oha -j --no-tui -z 10s http://localhost:8000
app_middleware 42833 69% oha -j --no-tui -z 10s http://localhost:8000
deno_sqlite 34413 55% oha -j --no-tui -z 10s http://localhost:8000
server_rendering 29042 47% oha -j --no-tui -z 10s http://localhost:8000
deno_kv 20844 34% oha -j --no-tui -z 10s http://localhost:8000/user?name=john
deno_postgres 20329 33% oha -j --no-tui -z 10s http://localhost:8000
markdown_middleware 19722 32% oha -j --no-tui -z 10s http://localhost:8000/blog/hello
deno_mongo 18226 29% oha -j --no-tui -z 10s http://localhost:8000
static_file_image 13638 22% oha -j --no-tui -z 10s http://localhost:8000/static/favicon.ico
deno_redis 12160 20% oha -j --no-tui -z 10s http://localhost:8000
deno_mysql 7002 11% oha -j --no-tui -z 10s http://localhost:8000
oauth 6725 11% oha -j --no-tui -z 10s http://localhost:8000
route_middleware 4768 8% oha -j --no-tui -z 10s http://localhost:8000
static_file_string 1753 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.