Home

Awesome

<div align="center"> <a href="https://fastify.dev/"> <img src="https://github.com/fastify/graphics/raw/HEAD/fastify-landscape-outlined.svg" width="650" height="auto" /> </a> </div> <div align="center">

CI Package Manager
CI Web
SIte neostandard javascript style CII Best Practices

</div> <div align="center">

NPM
version NPM
downloads Security Responsible
Disclosure Discord Contribute with Gitpod Open Collective backers and sponsors

</div> <br />

TL;DR

Requirements

To be included in this list, the framework should captivate users' interest. We have identified the following minimal requirements:

Usage

Clone this repo. Then

node ./benchmark [arguments (optional)]

Arguments

You may also compare all test results, at once, in a single table; benchmark compare -t

You can also extend the comparison table with percentage values based on fastest result; benchmark compare -p

Benchmarks

VersionRouterRequests/sLatency (ms)Throughput/Mb
fastify5.2.046354.421.088.31
barev20.18.146121.621.188.22
polka0.5.245559.221.458.12
polkadot1.0.045456.821.508.11
0http3.5.345412.821.528.10
rayo1.4.645240.821.638.07
connect3.7.044987.221.748.02
server-base7.1.3244852.021.808.00
micro10.0.144596.021.917.95
server-base-router7.1.3244365.622.067.91
connect-router1.3.842956.022.787.66
micro-route2.5.041736.023.487.44
h31.13.041231.223.757.35
h3-router1.13.041207.223.777.35
adonisjs7.4.040487.224.197.22
hono4.6.1439647.224.726.50
restana4.9.939209.025.016.99
koa2.15.336060.627.226.43
koa-isomorphic-router1.0.134443.028.536.14
restify11.1.034152.628.786.16
take-five2.0.033881.029.0212.18
koa-router13.1.032934.029.845.87
hapi21.3.1231408.431.345.60
microrouter3.1.330370.032.415.42
fastify-big-json5.2.011814.684.08135.93
express5.0.110112.698.291.80
express-with-middlewares5.0.19195.8108.133.42
trpc-router10.45.2N/AN/AN/A