Fastro
BlogDocsSign in

Benchmarks


This is the final output of an internal benchmark run in github action on 10/5/2024, 10:37:19 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
route_middleware 60977 100% oha -j --no-tui -z 10s http://localhost:8000
deno 57032 94% oha -j --no-tui -z 10s http://localhost:8000
ctx_string 55156 90% oha -j --no-tui -z 10s http://localhost:8000
raw_string 54974 90% oha -j --no-tui -z 10s http://localhost:8000
group 54225 89% oha -j --no-tui -z 10s http://localhost:8000/api/user
string_response 53786 88% oha -j --no-tui -z 10s http://localhost:8000
store 52159 86% oha -j --no-tui -z 10s http://localhost:8000
params_query 51895 85% oha -j --no-tui -z 10s http://localhost:8000/agus?title=lead
deno_sqlite 44757 73% oha -j --no-tui -z 10s http://localhost:8000
raw_json 41233 68% oha -j --no-tui -z 10s http://localhost:8000
ctx_json 40668 67% oha -j --no-tui -z 10s http://localhost:8000
app_middleware 36402 60% oha -j --no-tui -z 10s http://localhost:8000
ctx_jsx 35914 59% oha -j --no-tui -z 10s http://localhost:8000
oauth 28033 46% oha -j --no-tui -z 10s http://localhost:8000
deno_kv 24329 40% oha -j --no-tui -z 10s http://localhost:8000/user?name=john
deno_mongo 16138 26% oha -j --no-tui -z 10s http://localhost:8000
deno_redis 15183 25% oha -j --no-tui -z 10s http://localhost:8000
server_rendering 13264 22% oha -j --no-tui -z 10s http://localhost:8000
deno_mysql 11997 20% oha -j --no-tui -z 10s http://localhost:8000
markdown_middleware 9937 16% oha -j --no-tui -z 10s http://localhost:8000/blog/hello
static_file_string 8819 14% oha -j --no-tui -z 10s http://localhost:8000/static/tailwind.css
static_file_image 8358 14% oha -j --no-tui -z 10s http://localhost:8000/static/favicon.ico
deno_postgres 3786 6% oha -j --no-tui -z 10s http://localhost:8000
Made with ♡ in Tulungagung