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 on github action on 1/27/2024, 10:10:21 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
params_query 64084 100% oha -j --no-tui -z 10s http://localhost:8000/agus?title=lead
deno 55110 86% oha -j --no-tui -z 10s http://localhost:8000
raw_string 47042 73% oha -j --no-tui -z 10s http://localhost:8000
group 46707 73% oha -j --no-tui -z 10s http://localhost:8000
string_response 46531 73% oha -j --no-tui -z 10s http://localhost:8000
ctx_string 46122 72% oha -j --no-tui -z 10s http://localhost:8000
raw_json 45009 70% oha -j --no-tui -z 10s http://localhost:8000
ctx_jsx 43501 68% oha -j --no-tui -z 10s http://localhost:8000
ctx_json 43326 68% oha -j --no-tui -z 10s http://localhost:8000
app_middleware 40031 62% oha -j --no-tui -z 10s http://localhost:8000
static_file_string 28164 44% oha -j --no-tui -z 10s http://localhost:8000/static/tailwind.css
markdown_middleware 15213 24% oha -j --no-tui -z 10s http://localhost:8000/hello
oauth 6938 11% oha -j --no-tui -z 10s http://localhost:8000
route_middleware 4308 7% oha -j --no-tui -z 10s http://localhost:8000
static_file_image 2204 3% oha -j --no-tui -z 10s http://localhost:8000/static/favicon.ico