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 82755.55 9435.84 100457.53 100%
Stric 82451.38 9621.60 100558.35 100%
Hyper Express 80661.77 12277.75 99414.24 97%
Elysia 77559.45 10202.34 98866.99 94%
Fastro 57455.06 9333.00 78455.61 69%
Deno 55617.32 5836.02 80160.24 67%
Vixeny (Deno) 51052.63 4114.07 72736.87 62%
NHttp 49761.49 3377.82 68091.98 60%
Hono 49608.48 3777.34 70187.60 60%
Fast 49525.91 3078.65 72035.90 60%
Megalo 47060.78 3053.94 66650.81 57%
Deso 45516.57 2670.86 56518.11 55%
Alosaur 44401.44 2967.74 56852.77 54%
http 40665.83 4555.40 50058.19 49%
Cheetah 40157.85 2539.44 49713.51 49%
Reno 39903.06 2548.08 46406.46 48%
Router 39425.61 4051.23 48985.22 48%
Danet V2 (Hono) 35561.09 2523.38 38563.60 43%
Danet (Oak) 33574.75 2193.68 35887.58 41%
Aqua 31357.38 3251.72 35884.02 38%
Little 30761.13 3805.31 36484.47 37%
Oak 30495.71 3168.41 32434.75 37%
Node 18258.52 1537.28 22873.20 22%
Fastify 18147.49 3853.90 36421.63 22%
Dinatra 16980.65 2084.90 20601.88 21%
Abc 13859.20 1596.02 23306.90 17%
Express (Deno) 10407.92 1940.34 12547.55 13%
Express 6614.76 933.96 8501.94 8%
Servest 6259.84 1541.00 11433.61 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
13859.20 1596.02 23306.90
Stat 10 25 50 75 90 95 99
Req/Sec 12456.43 13220.80 13931.69 14755.63 15128.08 15462.39 17872.82
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
44401.44 2967.74 56852.77
Stat 10 25 50 75 90 95 99
Req/Sec 42229.65 43474.95 44449.36 45529.18 46908.66 47679.94 50857.84
Latency 979µs 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
31357.38 3251.72 35884.02
Stat 10 25 50 75 90 95 99
Req/Sec 29405.80 30604.50 32008.14 33022.24 33870.19 34409.38 35355.96
Latency 1ms 1ms 1ms 1ms 1ms 2ms 2ms
Stat Mean Stddev Max
82755.55 9435.84 100457.53
Stat 10 25 50 75 90 95 99
Req/Sec 68407.94 76604.93 84232.81 90041.48 94263.91 95884.73 97866.78
Latency 361µs 452µs 565µs 714µs 899µs 1ms 1ms
Stat Mean Stddev Max
40157.85 2539.44 49713.51
Stat 10 25 50 75 90 95 99
Req/Sec 37543.34 39688.47 40849.75 41348.90 41945.97 42257.70 43703.37
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
33574.75 2193.68 35887.58
Stat 10 25 50 75 90 95 99
Req/Sec 33150.97 33421.50 33896.72 34275.98 34512.33 34700.63 35039.49
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
35561.09 2523.38 38563.60
Stat 10 25 50 75 90 95 99
Req/Sec 34582.26 35590.23 36022.85 36446.75 36762.59 36919.22 37608.87
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
55617.32 5836.02 80160.24
Stat 10 25 50 75 90 95 99
Req/Sec 51668.07 52664.81 53704.15 56088.45 64694.12 68591.08 74740.54
Latency 657µs 824µs 917µs 992µs 1ms 1ms 1ms
Stat Mean Stddev Max
45516.57 2670.86 56518.11
Stat 10 25 50 75 90 95 99
Req/Sec 43548.66 44562.03 45304.05 46401.28 48207.86 49675.65 52027.75
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
16980.65 2084.90 20601.88
Stat 10 25 50 75 90 95 99
Req/Sec 15337.48 16233.03 17329.29 18209.48 18885.32 19350.10 19839.55
Latency 2ms 2ms 2ms 2ms 3ms 3ms 4ms
Stat Mean Stddev Max
77559.45 10202.34 98866.99
Stat 10 25 50 75 90 95 99
Req/Sec 61511.47 73707.10 77875.33 83820.18 90519.42 93172.17 96723.25
Latency 410µs 509µs 581µs 720µs 981µs 1ms 1ms
Stat Mean Stddev Max
6614.76 933.96 8501.94
Stat 10 25 50 75 90 95 99
Req/Sec 5366.21 6535.79 6826.20 6957.22 7444.13 8017.56 8311.42
Latency 6ms 7ms 7ms 7ms 8ms 9ms 11ms
Stat Mean Stddev Max
10407.92 1940.34 12547.55
Stat 10 25 50 75 90 95 99
Req/Sec 6877.39 10459.38 11224.71 11435.77 11583.00 11702.44 12189.66
Latency 3ms 4ms 4ms 4ms 5ms 6ms 10ms
Stat Mean Stddev Max
49525.91 3078.65 72035.90
Stat 10 25 50 75 90 95 99
Req/Sec 47629.79 48446.25 49151.26 50106.48 52202.05 54801.65 61029.94
Latency 870µs 939µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
18147.49 3853.90 36421.63
Stat 10 25 50 75 90 95 99
Req/Sec 15855.66 16117.78 17861.25 18701.86 19508.73 28532.66 29296.23
Latency 1ms 2ms 2ms 3ms 3ms 3ms 5ms
Stat Mean Stddev Max
57455.06 9333.00 78455.61
Stat 10 25 50 75 90 95 99
Req/Sec 47238.35 48875.50 56717.29 65769.58 69493.30 71734.31 74412.21
Latency 608µs 681µs 872µs 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
49608.48 3777.34 70187.60
Stat 10 25 50 75 90 95 99
Req/Sec 46966.49 47729.03 48747.97 51205.97 54147.10 55856.14 60262.01
Latency 823µs 941µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
40665.83 4555.40 50058.19
Stat 10 25 50 75 90 95 99
Req/Sec 37299.41 39531.17 41621.86 43051.32 44183.05 44952.53 46376.23
Latency 912µs 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
80661.77 12277.75 99414.24
Stat 10 25 50 75 90 95 99
Req/Sec 59847.57 72916.51 83731.38 90130.72 94088.98 95926.46 97877.49
Latency 363µs 454µs 567µs 733µs 946µs 1ms 1ms
Stat Mean Stddev Max
30761.13 3805.31 36484.47
Stat 10 25 50 75 90 95 99
Req/Sec 29123.49 30471.99 31478.85 32512.16 33311.45 33954.07 34866.39
Latency 1ms 1ms 1ms 1ms 1ms 2ms 3ms
Stat Mean Stddev Max
47060.78 3053.94 66650.81
Stat 10 25 50 75 90 95 99
Req/Sec 44713.37 45783.39 46819.38 48621.31 50103.70 51401.90 53142.91
Latency 910µs 989µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
49761.49 3377.82 68091.98
Stat 10 25 50 75 90 95 99
Req/Sec 47544.66 48303.92 49068.89 50410.20 53611.83 55835.78 60995.04
Latency 854µs 937µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
18258.52 1537.28 22873.20
Stat 10 25 50 75 90 95 99
Req/Sec 17742.77 18099.14 18438.39 18762.71 19118.15 19391.43 19810.90
Latency 2ms 2ms 2ms 2ms 2ms 2ms 5ms
Stat Mean Stddev Max
30495.71 3168.41 32434.75
Stat 10 25 50 75 90 95 99
Req/Sec 30123.15 30625.76 31160.35 31466.84 31802.78 32016.37 32323.43
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
39903.06 2548.08 46406.46
Stat 10 25 50 75 90 95 99
Req/Sec 37305.10 39487.12 40421.42 41110.19 41854.21 42367.37 43948.22
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
39425.61 4051.23 48985.22
Stat 10 25 50 75 90 95 99
Req/Sec 36613.01 38346.57 40211.67 41382.25 42762.70 43544.53 44962.34
Latency 935µs 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
82451.38 9621.60 100558.35
Stat 10 25 50 75 90 95 99
Req/Sec 68231.30 75850.69 83710.97 90213.85 93724.54 95609.49 98122.16
Latency 364µs 454µs 567µs 715µs 902µs 1ms 1ms
Stat Mean Stddev Max
6259.84 1541.00 11433.61
Stat 10 25 50 75 90 95 99
Req/Sec 5110.06 5666.77 6421.23 6964.50 7889.09 8574.70 9067.23
Latency 6ms 7ms 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
51052.63 4114.07 72736.87
Stat 10 25 50 75 90 95 99
Req/Sec 48195.90 48940.47 49936.08 52146.03 56546.78 59113.40 64225.03
Latency 797µs 913µs 995µs 1ms 1ms 1ms 1ms

Generated 2025-01-18T01:52:12.531Z