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 82810.80 9599.01 101168.98 100%
Bun 81455.33 9200.73 99852.38 98%
Hyper Express 80126.52 12279.34 99523.90 97%
Elysia 78992.11 12221.56 101183.71 95%
Deno 56996.37 6672.32 82614.48 69%
Fastro 55837.59 8910.89 75921.96 67%
NHttp 52889.29 4864.16 76756.08 64%
Vixeny (Deno) 50055.48 3372.48 67690.30 60%
Hono 49352.70 3598.29 64761.60 60%
Fast 48837.97 2698.54 61425.10 59%
Megalo 46608.58 2921.69 63524.83 56%
Deso 44688.83 2163.06 54633.24 54%
Alosaur 44115.91 2927.15 68515.57 53%
http 41076.99 4486.23 54381.96 50%
Cheetah 40516.75 2826.35 54033.45 49%
Reno 40310.16 2427.01 45986.76 49%
Router 39688.74 3903.39 46873.94 48%
Danet V2 (Hono) 35211.98 2580.72 38366.27 43%
Danet (Oak) 33623.13 2547.02 36423.91 41%
Aqua 31739.50 3812.83 41858.00 38%
Little 30890.02 3848.73 35625.86 37%
Oak 30592.41 3181.86 33236.70 37%
Node 18781.80 1645.74 27768.85 23%
Fastify 17037.75 1795.91 27041.64 21%
Dinatra 16656.11 2074.91 20714.74 20%
Abc 13550.13 1387.49 15948.10 16%
Express (Deno) 10100.33 1914.09 13890.28 12%
Express 6276.35 962.55 8407.43 8%
Servest 6157.42 1554.07 10667.95 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
13550.13 1387.49 15948.10
Stat 10 25 50 75 90 95 99
Req/Sec 12335.37 13051.41 13763.51 14431.67 14769.15 15019.27 15404.30
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
44115.91 2927.15 68515.57
Stat 10 25 50 75 90 95 99
Req/Sec 42135.44 43407.75 44273.89 45229.38 46363.34 47116.58 48824.10
Latency 992µs 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
31739.50 3812.83 41858.00
Stat 10 25 50 75 90 95 99
Req/Sec 28620.53 30725.06 32415.17 33529.00 34867.91 35981.35 38915.50
Latency 1ms 1ms 1ms 1ms 1ms 2ms 2ms
Stat Mean Stddev Max
81455.33 9200.73 99852.38
Stat 10 25 50 75 90 95 99
Req/Sec 65789.70 76505.19 84288.91 87199.30 91334.78 93748.79 96586.05
Latency 394µs 464µs 545µs 727µs 942µs 1ms 1ms
Stat Mean Stddev Max
40516.75 2826.35 54033.45
Stat 10 25 50 75 90 95 99
Req/Sec 37931.03 40020.41 41015.64 41700.87 42385.45 43006.68 44724.02
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
33623.13 2547.02 36423.91
Stat 10 25 50 75 90 95 99
Req/Sec 33131.70 33508.97 34122.21 34451.07 34756.73 35014.41 35542.62
Latency 1ms 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
35211.98 2580.72 38366.27
Stat 10 25 50 75 90 95 99
Req/Sec 33951.60 35325.49 35721.81 36223.45 36554.62 36749.26 37424.97
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
56996.37 6672.32 82614.48
Stat 10 25 50 75 90 95 99
Req/Sec 52093.95 53052.62 54286.58 59327.22 67690.08 71308.40 77321.10
Latency 612µs 789µs 901µs 982µs 1ms 1ms 1ms
Stat Mean Stddev Max
44688.83 2163.06 54633.24
Stat 10 25 50 75 90 95 99
Req/Sec 43432.07 44189.50 44861.03 45362.51 45997.97 46415.17 50397.65
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
16656.11 2074.91 20714.74
Stat 10 25 50 75 90 95 99
Req/Sec 15210.96 15946.70 16978.77 17833.71 18601.16 18908.78 19376.00
Latency 2ms 2ms 2ms 2ms 3ms 3ms 5ms
Stat Mean Stddev Max
78992.11 12221.56 101183.71
Stat 10 25 50 75 90 95 99
Req/Sec 59955.49 69930.58 81353.30 88991.33 93371.07 95549.55 98607.24
Latency 369µs 458µs 574µs 757µs 966µs 1ms 1ms
Stat Mean Stddev Max
6276.35 962.55 8407.43
Stat 10 25 50 75 90 95 99
Req/Sec 4932.13 5826.12 6502.43 6800.65 7185.34 7813.13 8170.63
Latency 6ms 7ms 7ms 8ms 9ms 10ms 11ms
Stat Mean Stddev Max
10100.33 1914.09 13890.28
Stat 10 25 50 75 90 95 99
Req/Sec 6957.43 10140.24 10806.73 11136.88 11280.69 11394.48 11607.13
Latency 4ms 4ms 4ms 4ms 5ms 7ms 11ms
Stat Mean Stddev Max
48837.97 2698.54 61425.10
Stat 10 25 50 75 90 95 99
Req/Sec 47136.21 47965.63 48698.10 49506.63 51042.54 53176.96 56576.44
Latency 891µs 951µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
17037.75 1795.91 27041.64
Stat 10 25 50 75 90 95 99
Req/Sec 15880.66 16718.57 17464.25 17860.26 18201.42 18354.80 18602.62
Latency 2ms 2ms 2ms 2ms 3ms 3ms 5ms
Stat Mean Stddev Max
55837.59 8910.89 75921.96
Stat 10 25 50 75 90 95 99
Req/Sec 46754.44 48141.07 54420.69 62842.86 68491.40 71123.36 73396.16
Latency 624µs 703µs 920µs 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
49352.70 3598.29 64761.60
Stat 10 25 50 75 90 95 99
Req/Sec 46730.61 47599.43 48746.03 50898.66 53239.13 54963.92 59805.75
Latency 842µs 944µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
41076.99 4486.23 54381.96
Stat 10 25 50 75 90 95 99
Req/Sec 37643.70 39750.72 41958.09 43528.73 44773.67 45670.25 47001.70
Latency 903µs 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
80126.52 12279.34 99523.90
Stat 10 25 50 75 90 95 99
Req/Sec 60507.76 72779.84 82907.79 89431.61 93941.93 95605.07 98120.04
Latency 362µs 455µs 572µs 739µs 951µs 1ms 1ms
Stat Mean Stddev Max
30890.02 3848.73 35625.86
Stat 10 25 50 75 90 95 99
Req/Sec 29103.44 30476.12 31652.50 32725.84 33700.89 34286.07 35167.80
Latency 1ms 1ms 1ms 1ms 1ms 2ms 3ms
Stat Mean Stddev Max
46608.58 2921.69 63524.83
Stat 10 25 50 75 90 95 99
Req/Sec 44800.85 45439.79 46377.69 47612.04 49225.93 50395.72 53947.93
Latency 927µs 998µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
52889.29 4864.16 76756.08
Stat 10 25 50 75 90 95 99
Req/Sec 48657.18 49819.58 51972.48 55072.32 59101.80 61828.47 67396.26
Latency 680µs 871µs 969µs 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
18781.80 1645.74 27768.85
Stat 10 25 50 75 90 95 99
Req/Sec 17942.75 18525.42 19011.14 19404.95 19800.27 20025.98 20514.44
Latency 2ms 2ms 2ms 2ms 2ms 2ms 5ms
Stat Mean Stddev Max
30592.41 3181.86 33236.70
Stat 10 25 50 75 90 95 99
Req/Sec 29509.02 30664.82 31302.31 31712.92 32135.63 32350.49 32700.76
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
40310.16 2427.01 45986.76
Stat 10 25 50 75 90 95 99
Req/Sec 38412.64 39873.46 40805.13 41422.08 42136.63 42718.60 43860.65
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
39688.74 3903.39 46873.94
Stat 10 25 50 75 90 95 99
Req/Sec 36977.64 38710.50 40445.99 41590.12 42823.63 43641.82 44691.15
Latency 931µs 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
82810.80 9599.01 101168.98
Stat 10 25 50 75 90 95 99
Req/Sec 68800.14 76517.40 84328.04 90307.41 94165.38 95722.20 99387.32
Latency 363µs 451µs 563µs 712µs 900µs 1ms 1ms
Stat Mean Stddev Max
6157.42 1554.07 10667.95
Stat 10 25 50 75 90 95 99
Req/Sec 5091.78 5558.29 6312.31 6900.18 7765.05 8427.24 9062.56
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
50055.48 3372.48 67690.30
Stat 10 25 50 75 90 95 99
Req/Sec 47724.01 48726.54 49693.79 50716.59 53526.83 56148.82 60273.42
Latency 858µs 929µs 1ms 1ms 1ms 1ms 1ms

Generated 2025-01-29T01:55:13.671Z