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
Bun 81442.27 9425.97 105259.83 100%
Stric 81196.87 9542.42 100509.73 100%
Hyper Express 78531.22 12406.69 98712.53 96%
Elysia 77603.06 11094.05 99769.65 95%
Deno 55902.88 6371.78 82660.14 69%
Fastro 51603.50 6713.92 75948.93 63%
NHttp 50589.27 4320.08 72040.27 62%
Vixeny (Deno) 50246.06 3598.72 70785.57 62%
Fast 48439.98 2952.50 68512.50 59%
Hono 47938.30 3060.75 68670.95 59%
Megalo 44865.04 2256.45 52915.73 55%
Deso 44527.23 2574.07 65342.88 55%
Alosaur 43652.86 2919.97 57049.90 54%
http 40660.83 4448.98 48074.84 50%
Cheetah 40091.31 2657.63 57485.00 49%
Router 39091.16 3764.64 45646.97 48%
Reno 38483.98 2377.84 46699.68 47%
Danet V2 (Hono) 35382.49 2529.87 42259.81 43%
Danet (Oak) 33469.13 2314.06 36242.44 41%
Aqua 30979.05 3615.46 41601.98 38%
Little 30636.73 3760.03 35565.25 38%
Oak 29783.93 3059.60 32275.95 37%
Node 17567.95 1466.24 23368.42 22%
Fastify 16844.17 1745.86 24042.97 21%
Dinatra 16385.98 1975.06 20811.34 20%
Abc 13756.16 1424.18 16007.72 17%
Express (Deno) 9877.20 1910.62 12143.29 12%
Express 6554.70 912.37 8379.72 8%
Servest 6083.32 1510.21 11123.33 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
13756.16 1424.18 16007.72
Stat 10 25 50 75 90 95 99
Req/Sec 12515.31 13228.25 13976.62 14677.01 15009.69 15243.87 15636.73
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
43652.86 2919.97 57049.90
Stat 10 25 50 75 90 95 99
Req/Sec 41613.51 42887.30 43851.98 44726.41 46059.50 46928.62 49893.81
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
30979.05 3615.46 41601.98
Stat 10 25 50 75 90 95 99
Req/Sec 28232.07 29937.76 31523.51 32810.36 33807.05 34738.13 37847.16
Latency 1ms 1ms 1ms 1ms 1ms 2ms 2ms
Stat Mean Stddev Max
81442.27 9425.97 105259.83
Stat 10 25 50 75 90 95 99
Req/Sec 68447.23 74855.28 82098.23 89158.84 93281.78 95187.25 97539.56
Latency 368µs 459µs 575µs 727µs 913µs 1ms 1ms
Stat Mean Stddev Max
40091.31 2657.63 57485.00
Stat 10 25 50 75 90 95 99
Req/Sec 37812.69 39648.69 40565.60 41164.81 41911.81 42265.88 43605.82
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
33469.13 2314.06 36242.44
Stat 10 25 50 75 90 95 99
Req/Sec 32838.77 33383.33 33813.76 34260.73 34510.22 34659.28 35208.40
Latency 1ms 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
35382.49 2529.87 42259.81
Stat 10 25 50 75 90 95 99
Req/Sec 34907.24 35429.29 35722.56 36209.07 36528.52 36715.05 37375.52
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
55902.88 6371.78 82660.14
Stat 10 25 50 75 90 95 99
Req/Sec 51506.63 52443.70 53520.53 56728.25 66204.68 70078.46 76130.00
Latency 633µs 817µs 918µs 995µs 1ms 1ms 1ms
Stat Mean Stddev Max
44527.23 2574.07 65342.88
Stat 10 25 50 75 90 95 99
Req/Sec 43008.97 43853.31 44507.13 45226.29 46084.11 47945.49 51024.76
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
16385.98 1975.06 20811.34
Stat 10 25 50 75 90 95 99
Req/Sec 15211.60 15836.30 16629.43 17411.11 18207.18 18510.61 19030.46
Latency 2ms 2ms 2ms 3ms 3ms 3ms 5ms
Stat Mean Stddev Max
77603.06 11094.05 99769.65
Stat 10 25 50 75 90 95 99
Req/Sec 60802.18 70234.21 79305.97 86414.03 90487.04 93102.38 95519.85
Latency 378µs 470µs 588µs 769µs 974µs 1ms 1ms
Stat Mean Stddev Max
6554.70 912.37 8379.72
Stat 10 25 50 75 90 95 99
Req/Sec 5254.27 6487.97 6780.64 6909.16 7346.84 7843.57 8248.01
Latency 6ms 7ms 7ms 7ms 8ms 9ms 11ms
Stat Mean Stddev Max
9877.20 1910.62 12143.29
Stat 10 25 50 75 90 95 99
Req/Sec 6730.97 10000.94 10526.78 10818.92 11236.41 11527.01 11723.44
Latency 4ms 4ms 4ms 5ms 5ms 7ms 11ms
Stat Mean Stddev Max
48439.98 2952.50 68512.50
Stat 10 25 50 75 90 95 99
Req/Sec 46531.15 47528.54 48382.86 49047.21 50029.98 52577.21 58014.83
Latency 900µs 959µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
16844.17 1745.86 24042.97
Stat 10 25 50 75 90 95 99
Req/Sec 15793.04 16243.13 17203.00 17737.10 18053.41 18216.79 18604.08
Latency 2ms 2ms 2ms 3ms 3ms 3ms 5ms
Stat Mean Stddev Max
51603.50 6713.92 75948.93
Stat 10 25 50 75 90 95 99
Req/Sec 46082.98 47241.30 49711.76 55275.57 60698.70 63965.10 69640.76
Latency 663µs 844µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
47938.30 3060.75 68670.95
Stat 10 25 50 75 90 95 99
Req/Sec 46131.96 46923.84 47628.71 48605.42 50730.70 52912.66 56763.91
Latency 906µs 969µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
40660.83 4448.98 48074.84
Stat 10 25 50 75 90 95 99
Req/Sec 36713.18 39343.91 41561.93 43242.03 44441.18 45170.82 46595.52
Latency 910µs 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
78531.22 12406.69 98712.53
Stat 10 25 50 75 90 95 99
Req/Sec 59194.21 70526.64 81353.22 88342.26 92900.68 94561.20 96652.11
Latency 372µs 466µs 584µs 756µs 960µs 1ms 1ms
Stat Mean Stddev Max
30636.73 3760.03 35565.25
Stat 10 25 50 75 90 95 99
Req/Sec 29026.91 30298.69 31304.69 32422.00 33285.23 33725.01 34622.30
Latency 1ms 1ms 1ms 1ms 1ms 2ms 3ms
Stat Mean Stddev Max
44865.04 2256.45 52915.73
Stat 10 25 50 75 90 95 99
Req/Sec 43541.42 44248.04 45055.62 45607.32 46343.76 46931.70 49633.04
Latency 982µs 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
50589.27 4320.08 72040.27
Stat 10 25 50 75 90 95 99
Req/Sec 47486.21 48289.16 49201.53 52130.71 56458.38 58827.57 64599.88
Latency 771µs 924µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
17567.95 1466.24 23368.42
Stat 10 25 50 75 90 95 99
Req/Sec 17085.30 17367.34 17707.26 18021.02 18324.33 18640.57 20298.19
Latency 2ms 2ms 2ms 2ms 2ms 3ms 5ms
Stat Mean Stddev Max
29783.93 3059.60 32275.95
Stat 10 25 50 75 90 95 99
Req/Sec 29198.82 30033.84 30352.34 30800.37 31216.61 31404.55 31811.74
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
38483.98 2377.84 46699.68
Stat 10 25 50 75 90 95 99
Req/Sec 35726.14 37989.10 39102.44 39789.52 40115.97 40443.14 41127.17
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
39091.16 3764.64 45646.97
Stat 10 25 50 75 90 95 99
Req/Sec 36703.07 38169.80 40006.02 40942.79 41675.73 42307.33 43465.36
Latency 942µs 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
81196.87 9542.42 100509.73
Stat 10 25 50 75 90 95 99
Req/Sec 67269.25 74518.41 82245.65 88677.25 93238.71 94849.91 97036.16
Latency 369µs 459µs 573µs 728µs 922µs 1ms 1ms
Stat Mean Stddev Max
6083.32 1510.21 11123.33
Stat 10 25 50 75 90 95 99
Req/Sec 4932.66 5612.93 6258.77 6765.11 7603.57 8113.99 8686.39
Latency 6ms 7ms 8ms 8ms 9ms 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
50246.06 3598.72 70785.57
Stat 10 25 50 75 90 95 99
Req/Sec 47911.69 48650.56 49455.35 50814.65 54641.69 57455.08 61609.45
Latency 836µs 927µs 1ms 1ms 1ms 1ms 1ms

Generated 2024-12-29T02:06:28.240Z