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 82996.57 9593.60 101901.99 100%
Bun 81070.91 10319.03 100548.34 98%
Hyper Express 80970.04 12157.89 100483.48 98%
Elysia 79833.81 11572.66 99959.14 96%
Deno 57629.72 7199.67 80429.68 69%
NHttp 51230.25 4173.15 70816.41 62%
Fastro 51197.02 6522.69 75226.08 62%
Fast 50809.32 3872.26 66745.97 61%
Vixeny (Deno) 49332.05 2366.31 64803.19 59%
Hono 49274.96 3348.59 62710.67 59%
Megalo 45832.54 2548.78 61046.07 55%
Deso 45128.62 2615.02 58444.69 54%
Alosaur 44218.95 2905.35 70075.46 53%
http 41104.19 4327.47 48669.02 50%
Cheetah 40208.09 2564.59 46426.01 48%
Reno 40183.50 2419.07 48294.90 48%
Router 39910.77 3992.21 46899.61 48%
Danet V2 (Hono) 35468.63 2768.32 39495.72 43%
Danet (Oak) 33742.61 2356.07 35878.60 41%
Aqua 31623.52 3692.39 40514.65 38%
Little 31121.74 3880.80 36157.01 37%
Oak 30525.33 3112.14 32538.85 37%
Node 18101.56 1502.93 21069.51 22%
Fastify 17346.59 1836.21 19301.18 21%
Dinatra 16554.17 2034.37 20549.24 20%
Abc 14053.32 1485.83 17057.34 17%
Express (Deno) 10360.68 1898.91 12364.74 12%
Servest 6401.05 1632.36 11780.14 8%
Express 6381.87 1037.98 8449.71 8%
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
14053.32 1485.83 17057.34
Stat 10 25 50 75 90 95 99
Req/Sec 12635.97 13524.53 14300.35 15034.41 15319.10 15467.81 15756.45
Latency 3ms 3ms 3ms 3ms 3ms 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
44218.95 2905.35 70075.46
Stat 10 25 50 75 90 95 99
Req/Sec 42316.11 43340.07 44302.84 45271.85 46465.03 47397.49 49784.79
Latency 989µs 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
31623.52 3692.39 40514.65
Stat 10 25 50 75 90 95 99
Req/Sec 28823.68 30704.73 32347.43 33377.26 34548.92 35536.81 38367.86
Latency 1ms 1ms 1ms 1ms 1ms 2ms 2ms
Stat Mean Stddev Max
81070.91 10319.03 100548.34
Stat 10 25 50 75 90 95 99
Req/Sec 64806.17 72981.16 84470.15 88053.77 93232.38 95495.05 98397.84
Latency 386µs 463µs 555µs 737µs 940µs 1ms 1ms
Stat Mean Stddev Max
40208.09 2564.59 46426.01
Stat 10 25 50 75 90 95 99
Req/Sec 37699.01 39664.29 40902.70 41399.24 42068.12 42456.54 43807.27
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
33742.61 2356.07 35878.60
Stat 10 25 50 75 90 95 99
Req/Sec 33213.78 33647.83 34173.01 34453.97 34757.77 34969.57 35273.36
Latency 1ms 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
35468.63 2768.32 39495.72
Stat 10 25 50 75 90 95 99
Req/Sec 34606.43 35454.22 35887.64 36436.27 36738.57 36947.23 37429.37
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
57629.72 7199.67 80429.68
Stat 10 25 50 75 90 95 99
Req/Sec 51773.09 52679.20 54313.32 62134.36 68309.50 71862.02 78887.04
Latency 593µs 753µs 896µs 985µs 1ms 1ms 1ms
Stat Mean Stddev Max
45128.62 2615.02 58444.69
Stat 10 25 50 75 90 95 99
Req/Sec 43402.36 44235.96 45057.87 45882.25 47679.43 49263.93 51429.57
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
16554.17 2034.37 20549.24
Stat 10 25 50 75 90 95 99
Req/Sec 15219.18 15944.44 16803.87 17711.39 18479.97 18805.80 19452.83
Latency 2ms 2ms 2ms 2ms 3ms 3ms 5ms
Stat Mean Stddev Max
79833.81 11572.66 99959.14
Stat 10 25 50 75 90 95 99
Req/Sec 61393.59 72701.15 82304.11 88760.97 93210.31 95117.31 98215.20
Latency 370µs 459µs 572µs 737µs 954µs 1ms 1ms
Stat Mean Stddev Max
6381.87 1037.98 8449.71
Stat 10 25 50 75 90 95 99
Req/Sec 5045.50 5918.85 6690.10 6900.62 7490.32 8086.10 8286.65
Latency 6ms 7ms 7ms 8ms 9ms 10ms 12ms
Stat Mean Stddev Max
10360.68 1898.91 12364.74
Stat 10 25 50 75 90 95 99
Req/Sec 7313.23 10438.91 11167.63 11347.45 11463.30 11525.48 11921.96
Latency 3ms 4ms 4ms 4ms 5ms 6ms 10ms
Stat Mean Stddev Max
50809.32 3872.26 66745.97
Stat 10 25 50 75 90 95 99
Req/Sec 47828.35 48703.33 49810.86 52218.85 55803.55 58297.81 62351.52
Latency 792µs 918µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
17346.59 1836.21 19301.18
Stat 10 25 50 75 90 95 99
Req/Sec 15974.06 17088.90 17822.32 18205.06 18489.86 18641.23 18936.09
Latency 2ms 2ms 2ms 2ms 3ms 3ms 5ms
Stat Mean Stddev Max
51197.02 6522.69 75226.08
Stat 10 25 50 75 90 95 99
Req/Sec 46424.34 47512.45 48919.12 54026.74 59537.05 63561.76 71289.42
Latency 681µs 887µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
49274.96 3348.59 62710.67
Stat 10 25 50 75 90 95 99
Req/Sec 46636.52 47606.12 48720.27 50683.83 53144.25 54908.63 58527.58
Latency 851µs 946µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
41104.19 4327.47 48669.02
Stat 10 25 50 75 90 95 99
Req/Sec 37715.94 39841.60 42014.21 43447.50 44668.83 45552.44 47173.44
Latency 906µs 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
80970.04 12157.89 100483.48
Stat 10 25 50 75 90 95 99
Req/Sec 61140.23 74503.79 83937.65 89845.67 94630.94 96628.64 98709.33
Latency 365µs 455µs 565µs 721µs 943µs 1ms 1ms
Stat Mean Stddev Max
31121.74 3880.80 36157.01
Stat 10 25 50 75 90 95 99
Req/Sec 29505.11 30726.33 31951.75 32921.03 33704.39 34225.58 35036.01
Latency 1ms 1ms 1ms 1ms 1ms 2ms 3ms
Stat Mean Stddev Max
45832.54 2548.78 61046.07
Stat 10 25 50 75 90 95 99
Req/Sec 44207.56 45178.24 45916.10 46539.18 47545.59 48838.51 52838.54
Latency 960µs 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
51230.25 4173.15 70816.41
Stat 10 25 50 75 90 95 99
Req/Sec 48058.11 48814.55 49988.65 52940.29 56441.20 59194.47 63720.85
Latency 762µs 911µs 995µs 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
18101.56 1502.93 21069.51
Stat 10 25 50 75 90 95 99
Req/Sec 17723.76 17996.08 18286.94 18579.69 18911.34 19093.19 19419.06
Latency 2ms 2ms 2ms 2ms 2ms 2ms 5ms
Stat Mean Stddev Max
30525.33 3112.14 32538.85
Stat 10 25 50 75 90 95 99
Req/Sec 30161.50 30693.01 31184.45 31468.74 31803.86 32019.38 32312.47
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
40183.50 2419.07 48294.90
Stat 10 25 50 75 90 95 99
Req/Sec 38255.12 39838.23 40662.67 41206.30 42004.14 42419.19 43478.75
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
39910.77 3992.21 46899.61
Stat 10 25 50 75 90 95 99
Req/Sec 37241.00 39102.07 40675.65 41903.74 43103.31 43771.06 45018.73
Latency 924µs 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
82996.57 9593.60 101901.99
Stat 10 25 50 75 90 95 99
Req/Sec 68172.08 76459.98 84864.20 90263.15 94129.13 96133.08 98435.07
Latency 362µs 451µs 564µs 712µs 895µs 1ms 1ms
Stat Mean Stddev Max
6401.05 1632.36 11780.14
Stat 10 25 50 75 90 95 99
Req/Sec 5114.05 5732.19 6609.84 7179.75 8136.72 8657.41 9659.53
Latency 6ms 6ms 7ms 8ms 9ms 11ms 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
49332.05 2366.31 64803.19
Stat 10 25 50 75 90 95 99
Req/Sec 47853.97 48626.39 49378.90 50020.44 50757.96 51520.67 56241.81
Latency 885µs 941µs 1ms 1ms 1ms 1ms 1ms

Generated 2025-01-21T01:55:12.655Z