Skip to content

Latest commit

 

History

History
37 lines (32 loc) · 5.1 KB

benchmarks.md

File metadata and controls

37 lines (32 loc) · 5.1 KB
title description image
Benchmarks
This is the final output of an internal benchmark run in github action

This is the final output of an internal benchmark run in github action on 5/25/2024, 3:51: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 57645 100% oha -j --no-tui -z 10s http://localhost:8000
raw_string 52024 90% oha -j --no-tui -z 10s http://localhost:8000
string_response 51305 89% oha -j --no-tui -z 10s http://localhost:8000
raw_json 50834 88% oha -j --no-tui -z 10s http://localhost:8000
ctx_string 50742 88% oha -j --no-tui -z 10s http://localhost:8000
group 50594 88% oha -j --no-tui -z 10s http://localhost:8000/api/user
ctx_json 49860 86% oha -j --no-tui -z 10s http://localhost:8000
params_query 48110 83% oha -j --no-tui -z 10s http://localhost:8000/agus?title=lead
ctx_jsx 47265 82% oha -j --no-tui -z 10s http://localhost:8000
app_middleware 42895 74% oha -j --no-tui -z 10s http://localhost:8000
deno_sqlite 35583 62% oha -j --no-tui -z 10s http://localhost:8000
server_rendering 24956 43% oha -j --no-tui -z 10s http://localhost:8000
deno_kv 20279 35% oha -j --no-tui -z 10s http://localhost:8000/user?name=john
markdown_middleware 17826 31% oha -j --no-tui -z 10s http://localhost:8000/blog/hello
deno_mongo 12764 22% oha -j --no-tui -z 10s http://localhost:8000
deno_redis 9637 17% oha -j --no-tui -z 10s http://localhost:8000
deno_postgres 8111 14% oha -j --no-tui -z 10s http://localhost:8000
deno_mysql 7564 13% oha -j --no-tui -z 10s http://localhost:8000
oauth 7151 12% oha -j --no-tui -z 10s http://localhost:8000
route_middleware 4823 8% oha -j --no-tui -z 10s http://localhost:8000
static_file_string 1764 3% oha -j --no-tui -z 10s http://localhost:8000/static/tailwind.css
static_file_image 1699 3% oha -j --no-tui -z 10s http://localhost:8000/static/favicon.ico