Home

Awesome

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

CI Coverage Status js-standard-style NPM version NPM downloads Discord

</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
barev20.18.045676.021.398.15
rayo1.4.645360.021.548.09
server-base-router7.1.3245065.621.708.04
polka0.5.245032.021.708.03
server-base7.1.3244968.021.748.02
connect3.7.044905.621.788.01
fastify5.1.044836.021.808.04
0http3.5.344600.821.937.95
micro10.0.143444.822.527.75
polkadot1.0.043297.622.607.72
connect-router1.3.841615.223.537.42
micro-route2.5.040812.824.007.28
adonisjs7.2.540781.624.027.27
h31.13.040538.424.167.23
h3-router1.13.039611.224.747.06
hono4.6.938847.225.246.93
restana4.9.936211.827.106.46
koa2.15.336163.827.156.45
take-five2.0.034663.028.3512.46
koa-isomorphic-router1.0.134052.628.876.07
restify11.1.034022.428.896.13
koa-router12.0.133310.229.525.94
hapi21.3.1230788.631.975.49
microrouter3.1.328943.234.045.16
fastify-big-json5.1.011897.283.50136.88
express5.0.19819.3101.251.75
express-with-middlewares5.0.18884.8111.923.30
trpc-router10.45.2N/AN/AN/A