Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fastro/docs/benchmarks.md

Full Stack Framework for Deno, TypeScript, Preact JS and Tailwind CSS
Latest
File

title: Benchmarks description: This is the final output of an internal benchmark run in github action image: https://fastro.dev/fastro.png

This is the final output of an internal benchmark run in github action on 10/5/2024, 8:40:04 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_sqlite 69560 100% oha -j --no-tui -z 10s http://localhost:8000
deno 56502 81% oha -j --no-tui -z 10s http://localhost:8000
string_response 55703 80% oha -j --no-tui -z 10s http://localhost:8000
ctx_string 55156 79% oha -j --no-tui -z 10s http://localhost:8000
raw_string 53849 77% oha -j --no-tui -z 10s http://localhost:8000
group 52489 75% oha -j --no-tui -z 10s http://localhost:8000/api/user
store 51289 74% oha -j --no-tui -z 10s http://localhost:8000
params_query 51254 74% oha -j --no-tui -z 10s http://localhost:8000/agus?title=lead
route_middleware 41623 60% oha -j --no-tui -z 10s http://localhost:8000
raw_json 41038 59% oha -j --no-tui -z 10s http://localhost:8000
ctx_json 40823 59% oha -j --no-tui -z 10s http://localhost:8000
app_middleware 37493 54% oha -j --no-tui -z 10s http://localhost:8000
ctx_jsx 34535 50% oha -j --no-tui -z 10s http://localhost:8000
oauth 24758 36% oha -j --no-tui -z 10s http://localhost:8000
deno_kv 23934 34% oha -j --no-tui -z 10s http://localhost:8000/user?name=john
deno_mongo 21649 31% oha -j --no-tui -z 10s http://localhost:8000
deno_postgres 14978 22% oha -j --no-tui -z 10s http://localhost:8000
deno_redis 14399 21% oha -j --no-tui -z 10s http://localhost:8000
server_rendering 12820 18% oha -j --no-tui -z 10s http://localhost:8000
deno_mysql 12355 18% oha -j --no-tui -z 10s http://localhost:8000
markdown_middleware 10301 15% oha -j --no-tui -z 10s http://localhost:8000/blog/hello
static_file_image 9075 13% oha -j --no-tui -z 10s http://localhost:8000/static/favicon.ico
static_file_string 8220 12% oha -j --no-tui -z 10s http://localhost:8000/static/tailwind.css