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 77802.69 7756.82 99456.88 100%
Bun 77076.22 10049.80 98991.59 99%
Elysia 73733.26 13312.69 98819.26 95%
Vixeny (Bun) 72124.68 8652.03 94819.41 93%
Hyper Express 65602.79 13690.05 97318.91 84%
Deno 63918.84 11825.68 89855.29 82%
Vixeny (Deno) 57451.06 9282.71 85879.15 74%
NHttp 55731.03 8114.30 83442.48 72%
Fastro 55228.74 9128.95 80319.36 71%
Fast 52579.38 6544.52 81902.15 68%
Hono 50779.90 6637.14 77135.85 65%
Megalo 50583.03 7816.83 77660.44 65%
Deso 46570.97 4401.47 72665.77 60%
Alosaur 44656.22 3099.12 58107.56 57%
http 41771.63 4614.82 52070.35 54%
Reno 40274.82 2276.10 54419.28 52%
Router 39549.94 3968.15 45451.05 51%
Cheetah 39446.77 2686.83 46330.98 51%
Danet V2 (Hono) 35620.62 2521.18 39221.37 46%
Danet (Oak) 33818.98 2567.06 38902.60 43%
Aqua 31973.77 4414.93 43729.01 41%
Little 31306.19 4027.87 39916.34 40%
Oak 30445.61 3263.09 42418.44 39%
Node 16959.94 1672.42 31331.71 22%
Dinatra 16741.31 2383.61 30940.44 22%
Fastify 16148.72 3027.43 31721.06 21%
Abc 12955.70 1378.94 16933.76 17%
Express (Deno) 10404.80 1949.08 13178.53 13%
Servest 6501.38 1777.78 12142.59 8%
Express 6311.78 988.01 7980.49 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%
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
12955.70 1378.94 16933.76
Stat 10 25 50 75 90 95 99
Req/Sec 11808.92 12514.59 13152.57 13733.19 14229.11 14468.61 14932.98
Latency 3ms 3ms 3ms 3ms 4ms 4ms 6ms
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
44656.22 3099.12 58107.56
Stat 10 25 50 75 90 95 99
Req/Sec 42719.13 43708.36 44811.65 45709.45 47241.75 48511.37 50810.90
Latency 977µs 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
31973.77 4414.93 43729.01
Stat 10 25 50 75 90 95 99
Req/Sec 27431.99 30143.92 32442.73 34097.22 36580.03 38302.81 41406.44
Latency 1ms 1ms 1ms 1ms 1ms 2ms 2ms
Stat Mean Stddev Max
77076.22 10049.80 98991.59
Stat 10 25 50 75 90 95 99
Req/Sec 63921.31 68749.12 76441.70 85175.10 91500.97 94004.66 97349.14
Latency 386µs 479µs 607µs 773µs 963µs 1ms 1ms
Stat Mean Stddev Max
39446.77 2686.83 46330.98
Stat 10 25 50 75 90 95 99
Req/Sec 37103.02 38094.63 39941.49 40943.20 41604.13 42170.79 43902.86
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
33818.98 2567.06 38902.60
Stat 10 25 50 75 90 95 99
Req/Sec 33130.47 33640.81 34308.93 34638.58 35039.47 35290.98 35602.55
Latency 1ms 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
35620.62 2521.18 39221.37
Stat 10 25 50 75 90 95 99
Req/Sec 35107.61 35503.47 36009.80 36467.41 36748.85 36974.32 37362.45
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
63918.84 11825.68 89855.29
Stat 10 25 50 75 90 95 99
Req/Sec 52553.77 54091.34 59754.04 74201.00 82529.49 85319.00 88936.95
Latency 522µs 585µs 812µs 941µs 1ms 1ms 1ms
Stat Mean Stddev Max
46570.97 4401.47 72665.77
Stat 10 25 50 75 90 95 99
Req/Sec 43824.57 44750.05 45659.31 47002.60 51302.71 54014.53 65922.27
Latency 931µs 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
16741.31 2383.61 30940.44
Stat 10 25 50 75 90 95 99
Req/Sec 15111.99 15844.62 17062.11 18022.98 18750.52 19339.91 21106.48
Latency 2ms 2ms 2ms 2ms 3ms 3ms 5ms
Stat Mean Stddev Max
73733.26 13312.69 98819.26
Stat 10 25 50 75 90 95 99
Req/Sec 56908.30 61200.44 74411.70 86023.94 91628.90 93946.16 96685.25
Latency 402µs 499µs 613µs 824µs 998µs 1ms 1ms
Stat Mean Stddev Max
6311.78 988.01 7980.49
Stat 10 25 50 75 90 95 99
Req/Sec 4854.66 6018.98 6472.06 6684.37 7607.27 7802.95 7928.96
Latency 6ms 7ms 7ms 8ms 9ms 11ms 13ms
Stat Mean Stddev Max
10404.80 1949.08 13178.53
Stat 10 25 50 75 90 95 99
Req/Sec 7348.15 10370.37 11201.64 11424.34 11559.95 11660.23 12129.46
Latency 3ms 4ms 4ms 4ms 5ms 6ms 10ms
Stat Mean Stddev Max
52579.38 6544.52 81902.15
Stat 10 25 50 75 90 95 99
Req/Sec 47990.32 49029.92 50125.73 54035.54 61765.71 67351.29 73836.82
Latency 645µs 881µs 981µs 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
16148.72 3027.43 31721.06
Stat 10 25 50 75 90 95 99
Req/Sec 14976.27 15371.57 15646.76 16000.42 17747.90 23271.02 27181.53
Latency 2ms 3ms 3ms 3ms 3ms 3ms 6ms
Stat Mean Stddev Max
55228.74 9128.95 80319.36
Stat 10 25 50 75 90 95 99
Req/Sec 47609.76 49271.23 52407.95 60558.48 68218.43 73052.84 79877.32
Latency 602µs 709µs 950µs 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
50779.90 6637.14 77135.85
Stat 10 25 50 75 90 95 99
Req/Sec 44062.73 47327.90 49257.96 53704.66 60126.80 63771.79 70470.52
Latency 663µs 905µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
41771.63 4614.82 52070.35
Stat 10 25 50 75 90 95 99
Req/Sec 38338.25 40416.54 42906.56 44046.40 45220.88 45959.43 48071.33
Latency 885µs 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
65602.79 13690.05 97318.91
Stat 10 25 50 75 90 95 99
Req/Sec 52864.77 54840.48 59857.00 75006.38 89293.21 92211.78 95839.73
Latency 432µs 541µs 719µs 942µs 1ms 1ms 1ms
Stat Mean Stddev Max
31306.19 4027.87 39916.34
Stat 10 25 50 75 90 95 99
Req/Sec 29260.50 30874.09 32200.18 33200.52 34122.60 34734.08 35715.04
Latency 1ms 1ms 1ms 1ms 1ms 2ms 3ms
Stat Mean Stddev Max
50583.03 7816.83 77660.44
Stat 10 25 50 75 90 95 99
Req/Sec 45600.32 46494.00 47336.27 52621.92 62521.92 68825.92 76054.42
Latency 661µs 914µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
55731.03 8114.30 83442.48
Stat 10 25 50 75 90 95 99
Req/Sec 49076.72 50155.24 52403.97 60007.64 67342.20 72126.40 79916.20
Latency 598µs 734µs 941µs 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
16959.94 1672.42 31331.71
Stat 10 25 50 75 90 95 99
Req/Sec 16400.68 16794.74 17124.39 17434.46 17744.50 17928.87 19674.41
Latency 2ms 2ms 2ms 2ms 3ms 3ms 5ms
Stat Mean Stddev Max
30445.61 3263.09 42418.44
Stat 10 25 50 75 90 95 99
Req/Sec 30009.12 30468.92 31105.48 31437.15 31873.49 32120.26 32698.28
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
40274.82 2276.10 54419.28
Stat 10 25 50 75 90 95 99
Req/Sec 39277.17 39879.09 40437.36 41053.51 41654.95 42177.45 44278.62
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
39549.94 3968.15 45451.05
Stat 10 25 50 75 90 95 99
Req/Sec 36746.02 38437.71 40432.62 41708.14 42704.28 43225.68 44137.28
Latency 921µs 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
77802.69 7756.82 99456.88
Stat 10 25 50 75 90 95 99
Req/Sec 67205.03 72516.01 78506.24 83070.96 87647.43 90046.01 94030.00
Latency 393µs 492µs 608µs 752µs 931µs 1ms 1ms
Stat Mean Stddev Max
6501.38 1777.78 12142.59
Stat 10 25 50 75 90 95 99
Req/Sec 5050.74 5711.38 6614.31 7517.80 8523.62 9093.23 10098.24
Latency 6ms 6ms 7ms 8ms 9ms 12ms 14ms
Stat Mean Stddev Max
72124.68 8652.03 94819.41
Stat 10 25 50 75 90 95 99
Req/Sec 61064.73 66050.74 72097.56 77826.38 83440.74 86824.14 92158.72
Latency 422µs 522µs 639µs 823µs 1ms 1ms 1ms
Stat Mean Stddev Max
57451.06 9282.71 85879.15
Stat 10 25 50 75 90 95 99
Req/Sec 49335.19 50696.57 54551.94 62325.07 71126.66 78411.47 83259.78
Latency 576µs 681µs 917µs 1ms 1ms 1ms 1ms

Generated 2024-11-22T02:03:50.867Z