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 81755.34 9158.53 99142.40 100%
Bun 80886.74 8536.80 98039.08 99%
Hyper Express 78723.76 11806.05 100022.83 96%
Elysia 76436.20 11046.40 97754.13 93%
Deno 58998.53 7508.10 87011.51 72%
Fastro 56675.29 9181.18 76316.92 69%
NHttp 51012.46 5223.91 76914.66 62%
Fast 50680.98 4500.52 76913.60 62%
Vixeny (Deno) 50671.72 5080.95 72771.53 62%
Hono 50159.01 4616.05 66933.94 61%
Megalo 46213.58 2923.12 57924.56 57%
Deso 44471.79 2837.88 62729.78 54%
Alosaur 42837.56 2698.99 63903.91 52%
http 40516.70 4646.24 48230.20 50%
Cheetah 39181.48 2728.40 51641.13 48%
Reno 38945.55 2513.73 44651.85 48%
Router 38642.15 4639.43 46274.85 47%
Danet V2 (Hono) 34205.27 2669.22 40514.94 42%
Danet (Oak) 32909.68 2396.78 40010.24 40%
Aqua 29969.25 3937.68 41722.04 37%
Oak 29688.63 3142.86 34337.40 36%
Little 29368.14 3814.27 35486.40 36%
Node 18069.49 1809.04 38885.72 22%
Fastify 17238.70 1941.32 21051.20 21%
Dinatra 16482.43 2271.28 21164.12 20%
Abc 13448.60 1431.12 15757.54 16%
Express (Deno) 9881.84 1959.24 13366.53 12%
Express 6196.00 1066.08 8273.65 8%
Servest 6088.70 1591.34 11157.86 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
13448.60 1431.12 15757.54
Stat 10 25 50 75 90 95 99
Req/Sec 12219.35 12920.90 13713.80 14299.07 14777.35 15095.25 15477.51
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
42837.56 2698.99 63903.91
Stat 10 25 50 75 90 95 99
Req/Sec 41148.42 42061.96 43056.01 43760.35 44426.32 45380.30 47774.97
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
29969.25 3937.68 41722.04
Stat 10 25 50 75 90 95 99
Req/Sec 26716.37 28807.39 30291.50 32002.49 33527.33 34656.55 38068.60
Latency 1ms 1ms 1ms 1ms 2ms 2ms 2ms
Stat Mean Stddev Max
80886.74 8536.80 98039.08
Stat 10 25 50 75 90 95 99
Req/Sec 66820.51 76633.30 83306.85 86345.24 89663.27 91753.90 95501.09
Latency 395µs 459µs 542µs 748µs 947µs 1ms 1ms
Stat Mean Stddev Max
39181.48 2728.40 51641.13
Stat 10 25 50 75 90 95 99
Req/Sec 36838.95 38764.99 39824.06 40392.30 40897.84 41236.40 42620.62
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
32909.68 2396.78 40010.24
Stat 10 25 50 75 90 95 99
Req/Sec 32161.97 32827.21 33284.55 33623.94 34117.34 34264.63 35056.18
Latency 1ms 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
34205.27 2669.22 40514.94
Stat 10 25 50 75 90 95 99
Req/Sec 33017.45 34201.64 34702.09 35300.60 35684.63 36040.30 36610.46
Latency 1ms 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
58998.53 7508.10 87011.51
Stat 10 25 50 75 90 95 99
Req/Sec 51731.58 53207.86 57025.76 64229.07 69675.79 73161.91 77376.73
Latency 575µs 701µs 875µs 975µs 1ms 1ms 1ms
Stat Mean Stddev Max
44471.79 2837.88 62729.78
Stat 10 25 50 75 90 95 99
Req/Sec 42983.47 43775.73 44369.94 45314.51 46546.80 47880.51 50545.47
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
16482.43 2271.28 21164.12
Stat 10 25 50 75 90 95 99
Req/Sec 14853.58 15754.16 16858.36 17774.59 18542.79 18927.17 19606.02
Latency 2ms 2ms 2ms 3ms 3ms 4ms 5ms
Stat Mean Stddev Max
76436.20 11046.40 97754.13
Stat 10 25 50 75 90 95 99
Req/Sec 60112.09 68657.11 77976.00 85128.59 89743.37 92477.04 95036.53
Latency 383µs 475µs 592µs 775µs 999µs 1ms 1ms
Stat Mean Stddev Max
6196.00 1066.08 8273.65
Stat 10 25 50 75 90 95 99
Req/Sec 4662.68 5840.12 6311.86 6774.89 7456.04 7857.86 8079.39
Latency 6ms 7ms 7ms 8ms 9ms 10ms 12ms
Stat Mean Stddev Max
9881.84 1959.24 13366.53
Stat 10 25 50 75 90 95 99
Req/Sec 6367.15 9957.00 10506.54 11022.53 11254.33 11441.16 11747.10
Latency 4ms 4ms 4ms 5ms 5ms 7ms 11ms
Stat Mean Stddev Max
50680.98 4500.52 76913.60
Stat 10 25 50 75 90 95 99
Req/Sec 47030.37 48156.45 49608.79 52785.79 56194.29 58288.71 64419.44
Latency 744µs 918µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
17238.70 1941.32 21051.20
Stat 10 25 50 75 90 95 99
Req/Sec 15770.97 16623.23 17775.24 18261.59 18632.73 18764.00 19102.21
Latency 2ms 2ms 2ms 2ms 3ms 3ms 5ms
Stat Mean Stddev Max
56675.29 9181.18 76316.92
Stat 10 25 50 75 90 95 99
Req/Sec 46573.34 48054.98 56407.58 64526.51 68792.50 70557.25 73566.21
Latency 618µs 694µs 882µs 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
50159.01 4616.05 66933.94
Stat 10 25 50 75 90 95 99
Req/Sec 46974.19 47830.53 48921.36 51721.40 56444.68 59106.69 63927.26
Latency 748µs 929µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
40516.70 4646.24 48230.20
Stat 10 25 50 75 90 95 99
Req/Sec 36585.24 39078.32 41432.21 43184.59 44458.73 45367.81 46715.28
Latency 912µs 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
78723.76 11806.05 100022.83
Stat 10 25 50 75 90 95 99
Req/Sec 61099.76 70854.63 80624.57 88229.90 92376.97 94707.65 97545.17
Latency 378µs 469µs 580µs 746µs 962µs 1ms 1ms
Stat Mean Stddev Max
29368.14 3814.27 35486.40
Stat 10 25 50 75 90 95 99
Req/Sec 27636.95 29203.13 30150.41 31113.88 31825.99 32307.54 33229.89
Latency 1ms 1ms 1ms 1ms 2ms 2ms 3ms
Stat Mean Stddev Max
46213.58 2923.12 57924.56
Stat 10 25 50 75 90 95 99
Req/Sec 44330.00 45233.59 46102.83 47251.84 48994.72 50402.14 53165.59
Latency 934µs 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
51012.46 5223.91 76914.66
Stat 10 25 50 75 90 95 99
Req/Sec 47205.45 48200.24 49334.31 52866.47 58480.98 61138.58 66251.55
Latency 722µs 909µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
18069.49 1809.04 38885.72
Stat 10 25 50 75 90 95 99
Req/Sec 17388.69 17803.11 18200.44 18628.42 19026.62 19306.90 20343.77
Latency 2ms 2ms 2ms 2ms 2ms 2ms 5ms
Stat Mean Stddev Max
29688.63 3142.86 34337.40
Stat 10 25 50 75 90 95 99
Req/Sec 29127.73 29778.99 30314.74 30716.16 31147.26 31302.66 31854.47
Latency 1ms 1ms 1ms 1ms 1ms 1ms 3ms
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
38945.55 2513.73 44651.85
Stat 10 25 50 75 90 95 99
Req/Sec 36577.05 38570.06 39441.17 40150.38 40851.84 41271.06 42530.72
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
38642.15 4639.43 46274.85
Stat 10 25 50 75 90 95 99
Req/Sec 35724.59 37554.22 39760.12 41019.96 41961.28 42929.14 44239.65
Latency 947µs 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
81755.34 9158.53 99142.40
Stat 10 25 50 75 90 95 99
Req/Sec 68607.29 75130.39 82512.97 88834.62 92893.39 95419.40 97666.50
Latency 366µs 460µs 575µs 716µs 905µs 1ms 1ms
Stat Mean Stddev Max
6088.70 1591.34 11157.86
Stat 10 25 50 75 90 95 99
Req/Sec 4824.73 5574.29 6254.22 6839.37 7655.16 8169.22 9045.69
Latency 6ms 7ms 7ms 8ms 10ms 12ms 15ms
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
50671.72 5080.95 72771.53
Stat 10 25 50 75 90 95 99
Req/Sec 47037.22 47935.88 49038.76 51848.31 57995.49 61449.79 67518.15
Latency 737µs 919µs 1ms 1ms 1ms 1ms 1ms

Generated 2024-12-30T02:01:05.461Z