Benchmarks


This is the final output of an internal benchmark run in github action on 6/17/2024, 9:46:33 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 59040 100% oha -j --no-tui -z 10s http://localhost:8000
ctx_json 52565 89% oha -j --no-tui -z 10s http://localhost:8000
group 52170 88% oha -j --no-tui -z 10s http://localhost:8000/api/user
string_response 51968 88% oha -j --no-tui -z 10s http://localhost:8000
ctx_string 51016 86% oha -j --no-tui -z 10s http://localhost:8000
raw_string 50716 86% oha -j --no-tui -z 10s http://localhost:8000
raw_json 50612 86% oha -j --no-tui -z 10s http://localhost:8000
params_query 48895 83% oha -j --no-tui -z 10s http://localhost:8000/agus?title=lead
ctx_jsx 47496 80% oha -j --no-tui -z 10s http://localhost:8000
app_middleware 42712 72% oha -j --no-tui -z 10s http://localhost:8000
deno_sqlite 41488 70% oha -j --no-tui -z 10s http://localhost:8000
server_rendering 24237 41% oha -j --no-tui -z 10s http://localhost:8000
deno_kv 20439 35% oha -j --no-tui -z 10s http://localhost:8000/user?name=john
markdown_middleware 16132 27% oha -j --no-tui -z 10s http://localhost:8000/blog/hello
deno_mongo 15207 26% oha -j --no-tui -z 10s http://localhost:8000
oauth 9973 17% oha -j --no-tui -z 10s http://localhost:8000
deno_redis 9681 16% oha -j --no-tui -z 10s http://localhost:8000
deno_mysql 9296 16% oha -j --no-tui -z 10s http://localhost:8000
deno_postgres 6702 11% oha -j --no-tui -z 10s http://localhost:8000
route_middleware 4695 8% oha -j --no-tui -z 10s http://localhost:8000
static_file_string 1564 3% oha -j --no-tui -z 10s http://localhost:8000/static/tailwind.css
static_file_image 1558 3% oha -j --no-tui -z 10s http://localhost:8000/static/favicon.ico
Fastro Framework is free and open source full stack web framework for Deno, TypeScript, Preact, and Tailwind. Powered by Deno Deploy. Requests per second (RPS) for each use case is monitored daily through internal benchmarks.