This is the final output of an internal benchmark run in github action on 7/15/2024, 1:02:21 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 53821 100% oha -j --no-tui -z 10s http://localhost:8000
ctx_string 50773 94% oha -j --no-tui -z 10s http://localhost:8000
raw_string 49198 91% oha -j --no-tui -z 10s http://localhost:8000
group 49140 91% oha -j --no-tui -z 10s http://localhost:8000/api/user
ctx_json 49052 91% oha -j --no-tui -z 10s http://localhost:8000
string_response 48699 90% oha -j --no-tui -z 10s http://localhost:8000
raw_json 47291 88% oha -j --no-tui -z 10s http://localhost:8000
params_query 46888 87% oha -j --no-tui -z 10s http://localhost:8000/agus?title=lead
ctx_jsx 44792 83% oha -j --no-tui -z 10s http://localhost:8000
app_middleware 41580 77% oha -j --no-tui -z 10s http://localhost:8000
deno_sqlite 33270 62% oha -j --no-tui -z 10s http://localhost:8000
markdown_middleware 25383 47% oha -j --no-tui -z 10s http://localhost:8000/blog/hello
server_rendering 23715 44% oha -j --no-tui -z 10s http://localhost:8000
deno_kv 19763 37% oha -j --no-tui -z 10s http://localhost:8000/user?name=john
deno_mongo 12073 22% oha -j --no-tui -z 10s http://localhost:8000
deno_redis 9135 17% oha -j --no-tui -z 10s http://localhost:8000
deno_postgres 7586 14% oha -j --no-tui -z 10s http://localhost:8000
deno_mysql 7210 13% oha -j --no-tui -z 10s http://localhost:8000
oauth 6331 12% oha -j --no-tui -z 10s http://localhost:8000
route_middleware 4268 8% oha -j --no-tui -z 10s http://localhost:8000
static_file_image 1650 3% oha -j --no-tui -z 10s http://localhost:8000/static/favicon.ico
static_file_string 1588 3% oha -j --no-tui -z 10s http://localhost:8000/static/tailwind.css
Fastro Framework is free and open source full stack web framework for Deno, TypeScript, Preact JS, and Tailwind CSS. Made with ♡ in Tulungagung