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 81939.41 9796.61 100513.38 100%
Stric 81074.79 8923.42 98170.55 99%
Hyper Express 79836.48 13430.16 101291.74 97%
Elysia 79395.97 11423.80 99430.96 97%
Fastro 59629.28 8593.72 76802.78 73%
Deno 57238.60 7074.65 84890.93 70%
Vixeny (Deno) 51528.74 4723.56 76070.10 63%
NHttp 50046.29 4140.22 66871.16 61%
Hono 49630.97 3949.18 66813.28 61%
Fast 48887.59 3511.88 71000.82 60%
Megalo 46748.12 3069.39 56758.67 57%
Deso 44726.55 2639.88 67201.29 55%
Alosaur 43113.55 2645.67 68697.50 53%
http 41056.27 4461.66 48260.79 50%
Cheetah 39990.79 2665.51 53160.23 49%
Router 39424.71 4147.65 47715.65 48%
Reno 38755.98 2666.26 44067.69 47%
Danet V2 (Hono) 35324.11 2784.89 43793.68 43%
Danet (Oak) 33109.91 2201.83 36686.57 40%
Aqua 30803.18 3775.26 40852.58 38%
Little 30363.22 3981.62 35732.97 37%
Oak 30172.82 3073.12 32649.14 37%
Node 18349.45 1585.29 24505.50 22%
Fastify 17218.65 1842.92 20542.23 21%
Dinatra 16215.96 1990.61 20599.40 20%
Abc 13722.22 1377.49 16541.07 17%
Express (Deno) 10290.54 1982.75 12433.17 13%
Express 6307.49 922.22 8482.52 8%
Servest 6133.97 1571.12 10953.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
13722.22 1377.49 16541.07
Stat 10 25 50 75 90 95 99
Req/Sec 12491.79 13209.47 14055.41 14575.70 14905.42 15131.60 15540.50
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
43113.55 2645.67 68697.50
Stat 10 25 50 75 90 95 99
Req/Sec 41714.90 42529.54 43387.60 44105.43 44612.26 45018.73 46941.01
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
30803.18 3775.26 40852.58
Stat 10 25 50 75 90 95 99
Req/Sec 27630.10 29794.57 31205.72 32540.34 33948.04 35921.88 38717.02
Latency 1ms 1ms 1ms 1ms 1ms 2ms 2ms
Stat Mean Stddev Max
81939.41 9796.61 100513.38
Stat 10 25 50 75 90 95 99
Req/Sec 66849.80 75133.39 85539.82 89013.16 91803.86 94411.50 97772.41
Latency 383µs 449µs 542µs 741µs 928µs 1ms 1ms
Stat Mean Stddev Max
39990.79 2665.51 53160.23
Stat 10 25 50 75 90 95 99
Req/Sec 37618.18 39434.49 40436.34 41135.32 41927.65 42417.36 44285.82
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
33109.91 2201.83 36686.57
Stat 10 25 50 75 90 95 99
Req/Sec 32422.49 33127.99 33430.54 33718.72 34131.04 34316.53 34704.84
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
35324.11 2784.89 43793.68
Stat 10 25 50 75 90 95 99
Req/Sec 33406.06 35314.56 35891.31 36478.78 36836.77 37232.75 38127.66
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
57238.60 7074.65 84890.93
Stat 10 25 50 75 90 95 99
Req/Sec 51838.74 52724.62 54025.27 61111.22 68688.38 72216.56 76538.72
Latency 595µs 769µs 902µs 989µs 1ms 1ms 1ms
Stat Mean Stddev Max
44726.55 2639.88 67201.29
Stat 10 25 50 75 90 95 99
Req/Sec 43071.30 43990.16 44690.02 45551.17 47024.23 48121.39 51310.19
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
16215.96 1990.61 20599.40
Stat 10 25 50 75 90 95 99
Req/Sec 14852.58 15599.92 16556.64 17341.16 18007.96 18303.13 19050.44
Latency 2ms 2ms 2ms 3ms 3ms 3ms 5ms
Stat Mean Stddev Max
79395.97 11423.80 99430.96
Stat 10 25 50 75 90 95 99
Req/Sec 61014.08 72136.08 81735.96 88313.47 92321.55 94738.17 98006.78
Latency 370µs 460µs 574µs 745µs 959µs 1ms 1ms
Stat Mean Stddev Max
6307.49 922.22 8482.52
Stat 10 25 50 75 90 95 99
Req/Sec 4940.18 6151.98 6472.62 6784.69 7088.99 7503.36 8157.25
Latency 6ms 7ms 7ms 8ms 9ms 10ms 12ms
Stat Mean Stddev Max
10290.54 1982.75 12433.17
Stat 10 25 50 75 90 95 99
Req/Sec 6742.58 10291.79 11154.58 11402.28 11552.53 11649.46 12090.27
Latency 3ms 4ms 4ms 4ms 5ms 7ms 10ms
Stat Mean Stddev Max
48887.59 3511.88 71000.82
Stat 10 25 50 75 90 95 99
Req/Sec 46499.85 47406.76 48324.71 49662.96 52779.75 55182.34 60847.70
Latency 871µs 952µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
17218.65 1842.92 20542.23
Stat 10 25 50 75 90 95 99
Req/Sec 15810.66 16911.30 17710.28 18110.67 18406.04 18545.29 18888.11
Latency 2ms 2ms 2ms 2ms 3ms 3ms 5ms
Stat Mean Stddev Max
59629.28 8593.72 76802.78
Stat 10 25 50 75 90 95 99
Req/Sec 48104.31 52506.70 60828.16 66203.56 70061.85 72208.42 74948.45
Latency 607µs 669µs 804µs 993µs 1ms 1ms 1ms
Stat Mean Stddev Max
49630.97 3949.18 66813.28
Stat 10 25 50 75 90 95 99
Req/Sec 46484.66 47639.13 48911.45 51523.35 54314.24 56304.02 61591.40
Latency 823µs 939µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
41056.27 4461.66 48260.79
Stat 10 25 50 75 90 95 99
Req/Sec 37526.40 40034.59 42018.07 43562.64 44544.20 45127.67 46432.08
Latency 907µs 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
79836.48 13430.16 101291.74
Stat 10 25 50 75 90 95 99
Req/Sec 58461.96 70941.24 82672.42 90435.03 95045.23 97061.94 99106.10
Latency 371µs 458µs 569µs 731µs 962µs 1ms 1ms
Stat Mean Stddev Max
30363.22 3981.62 35732.97
Stat 10 25 50 75 90 95 99
Req/Sec 28744.26 30100.75 31126.98 32169.03 33031.87 33580.52 34807.49
Latency 1ms 1ms 1ms 1ms 1ms 2ms 3ms
Stat Mean Stddev Max
46748.12 3069.39 56758.67
Stat 10 25 50 75 90 95 99
Req/Sec 44537.71 45451.98 46474.16 48008.80 49841.17 51515.42 54318.17
Latency 916µs 994µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
50046.29 4140.22 66871.16
Stat 10 25 50 75 90 95 99
Req/Sec 46949.96 47725.70 48952.72 51773.32 55477.53 58049.73 62607.37
Latency 794µs 932µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
18349.45 1585.29 24505.50
Stat 10 25 50 75 90 95 99
Req/Sec 17554.03 18108.61 18608.77 18995.39 19339.34 19523.09 20002.74
Latency 2ms 2ms 2ms 2ms 2ms 2ms 5ms
Stat Mean Stddev Max
30172.82 3073.12 32649.14
Stat 10 25 50 75 90 95 99
Req/Sec 29623.42 30275.97 30727.89 31214.97 31489.02 31692.21 31990.97
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
38755.98 2666.26 44067.69
Stat 10 25 50 75 90 95 99
Req/Sec 35904.18 38254.17 39301.12 40086.03 40983.29 41505.88 42940.27
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
39424.71 4147.65 47715.65
Stat 10 25 50 75 90 95 99
Req/Sec 36475.35 38232.47 40305.54 41546.79 42698.81 43539.15 45193.07
Latency 935µs 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
81074.79 8923.42 98170.55
Stat 10 25 50 75 90 95 99
Req/Sec 67834.24 75085.28 81846.87 87975.12 92243.22 94465.00 97044.92
Latency 369µs 462µs 578µs 729µs 917µs 1ms 1ms
Stat Mean Stddev Max
6133.97 1571.12 10953.33
Stat 10 25 50 75 90 95 99
Req/Sec 4945.63 5561.55 6343.33 6866.15 7653.68 8387.48 9001.12
Latency 6ms 7ms 7ms 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
51528.74 4723.56 76070.10
Stat 10 25 50 75 90 95 99
Req/Sec 47813.15 48793.51 50223.39 53501.50 57817.40 60967.04 66490.63
Latency 728µs 902µs 992µs 1ms 1ms 1ms 1ms

Generated 2024-12-31T01:57:37.826Z