Skip to main content
Module

x/fastro/docs/benchmarks.md

Fast and simple web application framework for deno
Go to Latest
File

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

This is the final output of an internal benchmark run in github action on 1/30/2024, 1:55:36 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
params_query 54373 100% oha -j --no-tui -z 10s http://localhost:8000/agus?title=lead
deno 54357 100% oha -j --no-tui -z 10s http://localhost:8000
group 50020 92% oha -j --no-tui -z 10s http://localhost:8000/api/user
raw_json 49518 91% oha -j --no-tui -z 10s http://localhost:8000
raw_string 49310 91% oha -j --no-tui -z 10s http://localhost:8000
string_response 49224 91% oha -j --no-tui -z 10s http://localhost:8000
ctx_string 48822 90% oha -j --no-tui -z 10s http://localhost:8000
ctx_json 46430 85% oha -j --no-tui -z 10s http://localhost:8000
ctx_jsx 45927 84% oha -j --no-tui -z 10s http://localhost:8000
app_middleware 42173 78% oha -j --no-tui -z 10s http://localhost:8000
server_rendering 28042 52% oha -j --no-tui -z 10s http://localhost:8000
static_file_string 27597 51% oha -j --no-tui -z 10s http://localhost:8000/static/tailwind.css
markdown_middleware 23516 43% oha -j --no-tui -z 10s http://localhost:8000/blog/hello
deno_kv 19937 37% oha -j --no-tui -z 10s http://localhost:8000/user?name=john
deno_postgres 8769 16% oha -j --no-tui -z 10s http://localhost:8000
oauth 6693 12% oha -j --no-tui -z 10s http://localhost:8000
route_middleware 4519 8% oha -j --no-tui -z 10s http://localhost:8000
static_file_image 2174 4% oha -j --no-tui -z 10s http://localhost:8000/static/favicon.ico