Skip to content

📊 Comparing deno, node and bun HTTP frameworks

License

Notifications You must be signed in to change notification settings

denosaurs/bench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bench

📊 Daily benchmarks of deno & node & bun HTTP frameworks


Table of Contents

Overview

Hello, bench!

Requests per second

Framework Mean Stddev Max Relative
Stric 83201.62 8747.52 99668.18 100%
Bun 81256.77 8674.43 98011.30 98%
Hyper Express 80594.88 11830.15 99673.26 97%
Elysia 78578.43 11622.95 99222.43 94%
Deno 54552.05 5772.76 81971.50 66%
Fastro 54313.43 7116.30 77733.45 65%
Vixeny (Deno) 50874.45 4159.06 68382.55 61%
NHttp 49308.07 3592.31 64739.75 59%
Fast 49273.93 3822.93 78875.49 59%
Hono 48167.97 3225.94 62115.98 58%
Megalo 46217.49 2570.86 56820.33 56%
Deso 43484.52 3010.32 64015.77 52%
Alosaur 43326.97 2902.09 66892.24 52%
http 41033.71 4375.53 48596.72 49%
Reno 39479.61 2328.00 47036.80 47%
Cheetah 39408.73 2538.83 44138.68 47%
Router 39115.62 3813.45 44709.22 47%
Danet V2 (Hono) 34880.98 2501.18 37631.94 42%
Danet (Oak) 32769.25 2468.28 35273.68 39%
Little 31106.67 3906.42 36523.87 37%
Aqua 30789.02 4006.93 41116.40 37%
Oak 30439.52 3111.60 33361.33 37%
Node 18218.30 1515.93 20418.30 22%
Fastify 16454.65 1655.39 19300.59 20%
Dinatra 16143.64 2129.48 20814.78 19%
Abc 13458.05 1477.69 16082.19 16%
Express (Deno) 10185.39 1951.08 12023.04 12%
Servest 6204.70 1564.67 11219.28 7%
Express 6161.78 967.51 8156.47 7%
Acorn 0.00 0.00 0.00 0%
Opine 0.00 0.00 0.00 0%
Peko 0.00 0.00 0.00 0%
Vixeny (Bun) 0.00 0.00 0.00 0%
Chart

Frameworks

A better Deno framework to create web application

A focused RESTful server framework for Deno 🌰🦕

Deno web framework with many decorators

A minimal and fast 🏃 web framework for Deno

Bun is a fast all-in-one JavaScript runtime

🐈 A blazing fast framework for the modern web.

The most mature backend framework for Deno

The most mature backend framework for Deno, V2 in Alpha

A modern runtime for JavaScript and TypeScript

A simple & fast HTTP web framework for Deno

Sinatra like light weight web app framework for deno.

Ergonomic Framework for Humans

Fast, unopinionated, minimalist web framework for Node.js

Fast, unopinionated, minimalist web framework for Node.js, run on Deno

Small web framework with near-native performance.

Fast and low overhead web framework, for Node.js

Fast and simple web application framework for deno

Ultrafast web framework for Cloudflare Workers and Deno. Fast, but not only fast.

The deno standard library http server

High performance Node.js webserver with a simple-to-use API powered by uWebsockets.js under the hood.

A minimalistic connect-like web framework. Automatically works out of the box with Deno Deploy, Deno's Native HTTP and Deno's Standard HTTP server.

Deno HTTP server framework focused on speed

An Simple web-framework for Deno and Friends

Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.

A middleware framework for Deno's native HTTP server, Deno Deploy and Node.js 16.5 and later. It also includes a middleware router.

Fast, minimalist web framework for Deno ported from ExpressJS.

Featherweight server/router framework + middleware and handler library 🐣

A thin, testable routing library designed to sit on top of Deno's standard HTTP module.

The tiny, modern and fast router by the denosaurs for deno and deno deploy. Used by projects like fresh

Stric is a minimalist, fast web framework for Bun.

🌾A progressive http server for Deno🌾

A pure functional web framework

A pure functional web framework

Benchmarks

Hello, bench!

A simple benchmark which expects a response simply containing the text "Hello, Bench!"

Stat Mean Stddev Max
13458.05 1477.69 16082.19
Stat 10 25 50 75 90 95 99
Req/Sec 12123.56 12927.84 13801.34 14321.79 14709.82 14995.35 15500.44
Latency 3ms 3ms 3ms 3ms 4ms 4ms 5ms
Stat Mean Stddev Max
0.00 0.00 0.00
Stat 10 25 50 75 90 95 99
Req/Sec 0.00 0.00 0.00 0.00 0.00 0.00 0.00
Latency 0ms 0ms 0ms 0ms 0ms 0ms 0ms
Stat Mean Stddev Max
43326.97 2902.09 66892.24
Stat 10 25 50 75 90 95 99
Req/Sec 41736.21 42541.78 43372.52 44208.40 45305.53 46271.36 49241.44
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
30789.02 4006.93 41116.40
Stat 10 25 50 75 90 95 99
Req/Sec 27859.19 29925.83 31320.02 32674.24 33832.51 35326.33 39315.84
Latency 1ms 1ms 1ms 1ms 1ms 2ms 2ms
Stat Mean Stddev Max
81256.77 8674.43 98011.30
Stat 10 25 50 75 90 95 99
Req/Sec 68845.39 75919.14 82523.10 87730.29 91800.80 93666.42 96182.83
Latency 367µs 459µs 575µs 725µs 923µs 1ms 1ms
Stat Mean Stddev Max
39408.73 2538.83 44138.68
Stat 10 25 50 75 90 95 99
Req/Sec 37439.76 38916.09 39912.00 40605.06 41071.47 41557.52 42323.40
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
32769.25 2468.28 35273.68
Stat 10 25 50 75 90 95 99
Req/Sec 32202.77 32796.82 33198.04 33492.98 33762.85 34052.88 34361.25
Latency 1ms 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
34880.98 2501.18 37631.94
Stat 10 25 50 75 90 95 99
Req/Sec 34237.86 34763.92 35366.45 35680.00 36082.51 36373.00 36791.40
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
54552.05 5772.76 81971.50
Stat 10 25 50 75 90 95 99
Req/Sec 50677.32 51511.48 52486.47 55610.43 62755.98 66958.88 74295.05
Latency 660µs 838µs 937µs 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
43484.52 3010.32 64015.77
Stat 10 25 50 75 90 95 99
Req/Sec 42298.07 43081.60 43611.01 44317.57 45028.59 45551.51 48352.35
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
16143.64 2129.48 20814.78
Stat 10 25 50 75 90 95 99
Req/Sec 14813.45 15475.58 16456.30 17401.37 18030.86 18393.89 18894.51
Latency 2ms 2ms 2ms 3ms 3ms 4ms 5ms
Stat Mean Stddev Max
78578.43 11622.95 99222.43
Stat 10 25 50 75 90 95 99
Req/Sec 60421.96 70463.41 81104.60 87782.20 92119.62 93878.91 96528.32
Latency 375µs 465µs 578µs 753µs 969µs 1ms 1ms
Stat Mean Stddev Max
6161.78 967.51 8156.47
Stat 10 25 50 75 90 95 99
Req/Sec 4688.44 5912.91 6308.56 6659.95 7233.52 7707.47 8023.82
Latency 6ms 7ms 7ms 8ms 9ms 10ms 12ms
Stat Mean Stddev Max
10185.39 1951.08 12023.04
Stat 10 25 50 75 90 95 99
Req/Sec 6933.28 10260.46 11031.74 11242.41 11357.89 11427.70 11650.96
Latency 3ms 4ms 4ms 4ms 5ms 7ms 11ms
Stat Mean Stddev Max
49273.93 3822.93 78875.49
Stat 10 25 50 75 90 95 99
Req/Sec 46670.98 47714.27 48615.60 49886.61 53707.50 56319.81 60931.33
Latency 860µs 945µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
16454.65 1655.39 19300.59
Stat 10 25 50 75 90 95 99
Req/Sec 15546.27 16155.97 16809.80 17197.20 17551.36 17689.64 18004.52
Latency 2ms 2ms 2ms 3ms 3ms 3ms 5ms
Stat Mean Stddev Max
54313.43 7116.30 77733.45
Stat 10 25 50 75 90 95 99
Req/Sec 46925.45 48920.90 54004.48 59542.95 63327.87 65505.89 68815.80
Latency 640µs 740µs 951µs 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
48167.97 3225.94 62115.98
Stat 10 25 50 75 90 95 99
Req/Sec 46133.31 47029.14 47910.81 48999.84 51225.61 53230.55 57204.22
Latency 896µs 964µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
41033.71 4375.53 48596.72
Stat 10 25 50 75 90 95 99
Req/Sec 37613.80 39989.80 41822.57 43463.08 44630.57 45421.99 46509.74
Latency 907µs 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
80594.88 11830.15 99673.26
Stat 10 25 50 75 90 95 99
Req/Sec 61916.78 73404.46 83404.71 89545.82 93423.43 95027.45 98251.81
Latency 369µs 458µs 566µs 726µs 943µs 1ms 1ms
Stat Mean Stddev Max
31106.67 3906.42 36523.87
Stat 10 25 50 75 90 95 99
Req/Sec 29146.22 30669.91 31953.68 33022.67 33752.33 34367.81 35275.41
Latency 1ms 1ms 1ms 1ms 1ms 2ms 3ms
Stat Mean Stddev Max
46217.49 2570.86 56820.33
Stat 10 25 50 75 90 95 99
Req/Sec 44546.62 45416.15 46300.64 46947.88 48382.78 49587.47 52233.19
Latency 950µs 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
49308.07 3592.31 64739.75
Stat 10 25 50 75 90 95 99
Req/Sec 46787.90 47570.34 48498.83 50116.46 53800.96 56334.35 61174.05
Latency 849µs 946µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
18218.30 1515.93 20418.30
Stat 10 25 50 75 90 95 99
Req/Sec 17743.50 18124.77 18412.35 18734.30 19025.84 19225.36 19622.60
Latency 2ms 2ms 2ms 2ms 2ms 2ms 5ms
Stat Mean Stddev Max
30439.52 3111.60 33361.33
Stat 10 25 50 75 90 95 99
Req/Sec 30106.53 30529.55 31129.09 31422.06 31725.09 31959.91 32244.96
Latency 1ms 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
0.00 0.00 0.00
Stat 10 25 50 75 90 95 99
Req/Sec 0.00 0.00 0.00 0.00 0.00 0.00 0.00
Latency 0ms 0ms 0ms 0ms 0ms 0ms 0ms
Stat Mean Stddev Max
0.00 0.00 0.00
Stat 10 25 50 75 90 95 99
Req/Sec 0.00 0.00 0.00 0.00 0.00 0.00 0.00
Latency 0ms 0ms 0ms 0ms 0ms 0ms 0ms
Stat Mean Stddev Max
39479.61 2328.00 47036.80
Stat 10 25 50 75 90 95 99
Req/Sec 37537.89 39091.63 39906.46 40547.16 41059.82 41610.82 42764.27
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
39115.62 3813.45 44709.22
Stat 10 25 50 75 90 95 99
Req/Sec 36336.04 38120.54 39997.33 41118.56 42000.84 42634.91 43603.48
Latency 940µs 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
83201.62 8747.52 99668.18
Stat 10 25 50 75 90 95 99
Req/Sec 70404.79 77188.77 84043.95 90412.18 93734.96 95431.71 98220.46
Latency 361µs 452µs 564µs 706µs 892µs 1ms 1ms
Stat Mean Stddev Max
6204.70 1564.67 11219.28
Stat 10 25 50 75 90 95 99
Req/Sec 5029.77 5600.95 6338.98 6930.14 7803.71 8528.06 9291.85
Latency 6ms 7ms 7ms 8ms 9ms 12ms 14ms
Stat Mean Stddev Max
0.00 0.00 0.00
Stat 10 25 50 75 90 95 99
Req/Sec 0.00 0.00 0.00 0.00 0.00 0.00 0.00
Latency 0ms 0ms 0ms 0ms 0ms 0ms 0ms
Stat Mean Stddev Max
50874.45 4159.06 68382.55
Stat 10 25 50 75 90 95 99
Req/Sec 47782.92 48910.97 49844.77 51805.08 55868.18 59704.96 64355.08
Latency 805µs 917µs 999µs 1ms 1ms 1ms 1ms

Generated 2024-12-25T01:56:51.084Z