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 9/26/2023, 12:27:58 AM
. It consists of several simple applications for specific purpose. Each is then accessed by the OHA within 5 seconds. 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 | 50643 | 100% | oha -j --no-tui -z 5s http://localhost:8000 |
raw_string | 49105 | 97% | oha -j --no-tui -z 5s http://localhost:8000 |
register | 48937 | 97% | oha -j --no-tui -z 5s http://localhost:8000 |
string_response | 48575 | 96% | oha -j --no-tui -z 5s http://localhost:8000 |
ctx_string | 47181 | 93% | oha -j --no-tui -z 5s http://localhost:8000 |
record | 46091 | 91% | oha -j --no-tui -z 5s http://localhost:8000 |
params_query | 45841 | 91% | oha -j --no-tui -z 5s http://localhost:8000/agus?title=lead |
raw_jsx | 45143 | 89% | oha -j --no-tui -z 5s http://localhost:8000 |
ctx_json | 44940 | 89% | oha -j --no-tui -z 5s http://localhost:8000 |
ctx_jsx | 44403 | 88% | oha -j --no-tui -z 5s http://localhost:8000 |
raw_json | 44400 | 88% | oha -j --no-tui -z 5s http://localhost:8000 |
app_middleware | 42763 | 84% | oha -j --no-tui -z 5s http://localhost:8000 |
markdown_middleware | 36110 | 71% | oha -j --no-tui -z 5s http://localhost:8000/hello |
ssr | 26246 | 52% | oha -j --no-tui -z 5s http://localhost:8000 |
static_file_string | 17992 | 36% | oha -j --no-tui -z 5s http://localhost:8000/static/post.css |
deno_kv | 12540 | 25% | oha -j --no-tui -z 5s http://localhost:8000/user?name=john |
route_middleware | 11609 | 23% | oha -j --no-tui -z 5s http://localhost:8000 |
static_file_image | 2204 | 4% | oha -j --no-tui -z 5s http://localhost:8000/static/image.png |
hook | 1873 | 4% | oha -j --no-tui -z 5s http://localhost:8000 |