https://fastro.dev/static/image.png
title: “Benchmarks” description: This is the final output of an internal benchmark run on github action image:This is the final output of an internal benchmark run on github action. 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 | 66973 | 100% | oha -j --no-tui -z 5s http://localhost:8000 |
raw_string | 59391 | 89% | oha -j --no-tui -z 5s http://localhost:8000 |
register | 59218 | 88% | oha -j --no-tui -z 5s http://localhost:8000 |
ctx_string | 59104 | 88% | oha -j --no-tui -z 5s http://localhost:8000 |
params_query | 56896 | 85% | oha -j --no-tui -z 5s http://localhost:8000/agus?title=lead |
raw_json | 55365 | 83% | oha -j --no-tui -z 5s http://localhost:8000 |
ctx_json | 54859 | 82% | oha -j --no-tui -z 5s http://localhost:8000 |
string_response | 53288 | 80% | oha -j --no-tui -z 5s http://localhost:8000 |
raw_jsx | 50548 | 75% | oha -j --no-tui -z 5s http://localhost:8000 |
ctx_jsx | 50219 | 75% | oha -j --no-tui -z 5s http://localhost:8000 |
ssr | 43522 | 65% | oha -j --no-tui -z 5s http://localhost:8000 |
static_file_string | 23770 | 35% | oha -j --no-tui -z 5s http://localhost:8000/static/post.css |
markdown_middleware | 22078 | 33% | oha -j --no-tui -z 5s http://localhost:8000/hello |
deno_kv | 18420 | 28% | oha -j --no-tui -z 5s http://localhost:8000/user?name=john |
markdown_hook | 15821 | 24% | oha -j --no-tui -z 5s http://localhost:8000/hello |
hook | 5095 | 8% | oha -j --no-tui -z 5s http://localhost:8000 |
static_file_image | 4174 | 6% | oha -j --no-tui -z 5s http://localhost:8000/static/image.png |