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 82696.45 10150.74 101203.79 100%
Stric 82428.27 9434.05 100966.73 100%
Hyper Express 82060.60 11792.18 99926.64 99%
Elysia 76981.87 12268.10 99606.99 93%
Fastro 57470.31 9624.51 74747.90 69%
Deno 57025.50 6851.76 80139.11 69%
Vixeny (Deno) 51181.91 3943.12 74189.85 62%
Fast 50107.53 3696.26 66435.92 61%
NHttp 50100.68 3396.07 66046.58 61%
Hono 49529.01 3519.44 68276.52 60%
Megalo 46516.48 2980.32 67203.74 56%
Deso 44901.57 2656.22 54574.74 54%
Alosaur 43945.24 2734.58 58455.22 53%
http 40750.92 4523.30 49584.59 49%
Reno 40097.72 2411.39 50096.43 48%
Cheetah 40041.89 2625.16 46914.99 48%
Router 39218.45 3874.10 46349.59 47%
Danet V2 (Hono) 34701.86 2741.59 37660.42 42%
Danet (Oak) 33470.17 2389.24 37091.16 40%
Aqua 31530.75 4050.92 41554.84 38%
Little 31130.48 4253.17 85275.99 38%
Oak 30966.73 3147.53 33215.55 37%
Node 18613.33 1591.75 21340.53 23%
Fastify 17611.97 1916.13 19824.80 21%
Dinatra 17096.04 2311.04 24807.70 21%
Abc 13809.90 1404.73 18121.96 17%
Express (Deno) 10571.17 1918.11 12583.79 13%
Servest 6384.87 1585.59 11645.29 8%
Express 6351.50 1038.95 8454.80 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
13809.90 1404.73 18121.96
Stat 10 25 50 75 90 95 99
Req/Sec 12508.25 13258.70 14053.16 14700.57 15021.12 15250.06 15850.45
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
43945.24 2734.58 58455.22
Stat 10 25 50 75 90 95 99
Req/Sec 42078.12 43120.72 44194.74 45019.01 46255.55 47112.14 48813.75
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
31530.75 4050.92 41554.84
Stat 10 25 50 75 90 95 99
Req/Sec 27703.53 29913.34 32298.55 33640.40 35000.44 36756.42 40135.21
Latency 1ms 1ms 1ms 1ms 1ms 2ms 2ms
Stat Mean Stddev Max
82696.45 10150.74 101203.79
Stat 10 25 50 75 90 95 99
Req/Sec 67748.97 75521.35 84431.59 90645.92 95259.87 96617.88 99204.02
Latency 361µs 449µs 561µs 714µs 909µs 1ms 1ms
Stat Mean Stddev Max
40041.89 2625.16 46914.99
Stat 10 25 50 75 90 95 99
Req/Sec 37626.27 39500.21 40635.26 41230.73 42040.47 42721.78 43859.35
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
33470.17 2389.24 37091.16
Stat 10 25 50 75 90 95 99
Req/Sec 33070.17 33342.70 33809.78 34292.43 34572.45 34780.80 35153.04
Latency 1ms 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
34701.86 2741.59 37660.42
Stat 10 25 50 75 90 95 99
Req/Sec 32164.58 34509.91 35492.06 35903.46 36366.95 36610.70 37043.22
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
57025.50 6851.76 80139.11
Stat 10 25 50 75 90 95 99
Req/Sec 51220.29 52321.06 54031.25 61407.50 67961.14 70872.05 75193.31
Latency 603µs 764µs 903µs 993µs 1ms 1ms 1ms
Stat Mean Stddev Max
44901.57 2656.22 54574.74
Stat 10 25 50 75 90 95 99
Req/Sec 43189.21 44011.95 44780.55 45909.98 47523.43 48700.46 50768.42
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
17096.04 2311.04 24807.70
Stat 10 25 50 75 90 95 99
Req/Sec 15243.18 16328.19 17498.84 18463.26 19171.36 19485.30 20155.06
Latency 2ms 2ms 2ms 2ms 3ms 3ms 5ms
Stat Mean Stddev Max
76981.87 12268.10 99606.99
Stat 10 25 50 75 90 95 99
Req/Sec 57859.92 67253.73 79456.82 86680.25 91162.16 93689.64 96930.79
Latency 375µs 466µs 587µs 784µs 991µs 1ms 1ms
Stat Mean Stddev Max
6351.50 1038.95 8454.80
Stat 10 25 50 75 90 95 99
Req/Sec 4831.37 6157.99 6551.44 6933.02 7167.83 7768.72 8288.10
Latency 6ms 7ms 7ms 7ms 9ms 10ms 12ms
Stat Mean Stddev Max
10571.17 1918.11 12583.79
Stat 10 25 50 75 90 95 99
Req/Sec 7807.52 10526.95 11351.93 11541.34 11681.30 11814.46 12359.80
Latency 3ms 3ms 4ms 4ms 5ms 6ms 10ms
Stat Mean Stddev Max
50107.53 3696.26 66435.92
Stat 10 25 50 75 90 95 99
Req/Sec 47323.57 48352.64 49304.18 51638.24 54748.30 57111.25 61452.75
Latency 833µs 931µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
17611.97 1916.13 19824.80
Stat 10 25 50 75 90 95 99
Req/Sec 16040.31 17185.55 18210.08 18565.13 18813.25 18967.67 19225.63
Latency 2ms 2ms 2ms 2ms 3ms 3ms 5ms
Stat Mean Stddev Max
57470.31 9624.51 74747.90
Stat 10 25 50 75 90 95 99
Req/Sec 46927.82 48426.94 57753.03 66006.52 69414.95 71447.98 74074.69
Latency 618µs 684µs 862µs 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
49529.01 3519.44 68276.52
Stat 10 25 50 75 90 95 99
Req/Sec 47148.11 47840.70 48832.09 50859.87 53559.53 55422.73 58840.62
Latency 841µs 942µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
40750.92 4523.30 49584.59
Stat 10 25 50 75 90 95 99
Req/Sec 37049.46 39439.21 41626.52 43247.55 44529.60 45296.59 47376.86
Latency 908µs 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
82060.60 11792.18 99926.64
Stat 10 25 50 75 90 95 99
Req/Sec 63201.72 75233.80 84713.66 91019.42 95070.95 96758.75 98528.84
Latency 367µs 452µs 559µs 706µs 923µs 1ms 1ms
Stat Mean Stddev Max
31130.48 4253.17 85275.99
Stat 10 25 50 75 90 95 99
Req/Sec 29202.54 30684.54 31870.03 33033.11 33816.51 34307.92 35375.33
Latency 1ms 1ms 1ms 1ms 1ms 2ms 3ms
Stat Mean Stddev Max
46516.48 2980.32 67203.74
Stat 10 25 50 75 90 95 99
Req/Sec 44683.05 45456.75 46303.77 47531.62 49309.40 50423.02 54047.69
Latency 933µs 999µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
50100.68 3396.07 66046.58
Stat 10 25 50 75 90 95 99
Req/Sec 47603.73 48535.34 49543.21 51127.96 54106.99 56135.20 59940.65
Latency 848µs 930µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
18613.33 1591.75 21340.53
Stat 10 25 50 75 90 95 99
Req/Sec 18023.49 18429.35 18820.69 19202.08 19559.08 19754.08 20106.92
Latency 2ms 2ms 2ms 2ms 2ms 2ms 5ms
Stat Mean Stddev Max
30966.73 3147.53 33215.55
Stat 10 25 50 75 90 95 99
Req/Sec 30391.99 31175.53 31526.57 32015.05 32317.72 32442.31 32681.93
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
40097.72 2411.39 50096.43
Stat 10 25 50 75 90 95 99
Req/Sec 37904.44 39811.17 40625.42 41157.10 41941.17 42447.97 43378.85
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
39218.45 3874.10 46349.59
Stat 10 25 50 75 90 95 99
Req/Sec 36375.39 38213.20 40039.18 41219.41 42100.09 42937.19 44067.95
Latency 940µs 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
82428.27 9434.05 100966.73
Stat 10 25 50 75 90 95 99
Req/Sec 68513.50 75568.41 83609.53 89879.85 94269.76 96225.77 98485.11
Latency 360µs 452µs 567µs 722µs 903µs 1ms 1ms
Stat Mean Stddev Max
6384.87 1585.59 11645.29
Stat 10 25 50 75 90 95 99
Req/Sec 5164.31 5779.46 6536.26 7158.52 8058.17 8708.77 9517.18
Latency 6ms 6ms 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
51181.91 3943.12 74189.85
Stat 10 25 50 75 90 95 99
Req/Sec 48420.20 49162.23 50124.79 52353.38 55907.19 59226.39 64321.90
Latency 802µs 912µs 993µs 1ms 1ms 1ms 1ms

Generated 2025-01-31T01:55:57.525Z