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 81238.81 9562.80 99227.05 100%
Stric 79454.93 9437.44 98348.39 98%
Hyper Express 78884.25 12081.73 98878.76 97%
Elysia 75875.37 12189.62 98106.88 93%
Deno 59676.44 7884.84 81653.35 73%
Fastro 57469.70 9917.42 78031.04 71%
NHttp 51229.24 4265.24 74348.86 63%
Vixeny (Deno) 50686.57 4459.51 74228.68 62%
Fast 50488.76 3913.48 68553.31 62%
Hono 49790.57 4062.90 75025.84 61%
Megalo 46280.60 3322.45 66910.32 57%
Deso 45827.90 2911.66 55826.94 56%
Alosaur 43435.72 2813.84 61936.63 53%
http 40509.18 4382.70 50429.17 50%
Reno 39678.54 2313.62 45414.28 49%
Router 39490.18 4178.13 46811.99 49%
Danet V2 (Hono) 35341.53 2660.61 37917.81 44%
Danet (Oak) 33621.92 2394.25 38039.58 41%
Aqua 31537.26 3354.65 36779.66 39%
Oak 30398.13 3143.85 32722.32 37%
Little 30184.46 3827.93 36251.92 37%
Node 17883.86 1591.56 28941.35 22%
Fastify 17177.34 1859.99 19311.76 21%
Dinatra 16371.94 2073.92 21225.93 20%
Abc 13268.50 1537.72 17439.29 16%
Express (Deno) 9909.69 1892.86 11964.91 12%
Express 6320.07 1000.95 8363.64 8%
Servest 6165.80 1581.92 11377.25 8%
Acorn 0.00 0.00 0.00 0%
Cheetah 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
13268.50 1537.72 17439.29
Stat 10 25 50 75 90 95 99
Req/Sec 11647.82 12450.57 13351.85 14368.71 14834.12 15117.08 16013.35
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
43435.72 2813.84 61936.63
Stat 10 25 50 75 90 95 99
Req/Sec 41688.85 42832.47 43651.69 44455.53 45346.39 46390.47 48205.58
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
31537.26 3354.65 36779.66
Stat 10 25 50 75 90 95 99
Req/Sec 29598.19 30732.37 32165.95 33204.12 34139.77 34743.04 35628.67
Latency 1ms 1ms 1ms 1ms 1ms 2ms 2ms
Stat Mean Stddev Max
81238.81 9562.80 99227.05
Stat 10 25 50 75 90 95 99
Req/Sec 66974.56 74629.01 82816.59 88609.43 92467.39 94563.58 96996.12
Latency 370µs 460µs 574µs 725µs 918µs 1ms 1ms
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
33621.92 2394.25 38039.58
Stat 10 25 50 75 90 95 99
Req/Sec 33038.43 33502.45 34119.49 34429.32 34730.51 35002.54 35395.15
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
35341.53 2660.61 37917.81
Stat 10 25 50 75 90 95 99
Req/Sec 34489.85 35375.82 35776.47 36348.11 36682.85 36860.86 37412.52
Latency 1ms 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
59676.44 7884.84 81653.35
Stat 10 25 50 75 90 95 99
Req/Sec 51771.75 53008.50 58145.51 65318.32 70782.12 73884.85 78645.52
Latency 569µs 678µs 868µs 974µs 1ms 1ms 1ms
Stat Mean Stddev Max
45827.90 2911.66 55826.94
Stat 10 25 50 75 90 95 99
Req/Sec 43733.75 44617.89 45607.00 47157.76 48722.09 49976.14 52186.75
Latency 953µs 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
16371.94 2073.92 21225.93
Stat 10 25 50 75 90 95 99
Req/Sec 14984.71 15692.33 16729.23 17548.91 18246.32 18637.96 19330.40
Latency 2ms 2ms 2ms 3ms 3ms 3ms 5ms
Stat Mean Stddev Max
75875.37 12189.62 98106.88
Stat 10 25 50 75 90 95 99
Req/Sec 57092.05 66949.51 77574.35 85808.37 90564.77 92983.23 95497.10
Latency 380µs 472µs 594µs 794µs 1ms 1ms 1ms
Stat Mean Stddev Max
6320.07 1000.95 8363.64
Stat 10 25 50 75 90 95 99
Req/Sec 4944.16 5937.35 6563.18 6870.21 7330.69 7906.65 8193.51
Latency 6ms 7ms 7ms 8ms 9ms 10ms 11ms
Stat Mean Stddev Max
9909.69 1892.86 11964.91
Stat 10 25 50 75 90 95 99
Req/Sec 6768.32 9959.03 10550.72 11034.10 11269.72 11439.15 11707.44
Latency 4ms 4ms 4ms 5ms 5ms 7ms 11ms
Stat Mean Stddev Max
50488.76 3913.48 68553.31
Stat 10 25 50 75 90 95 99
Req/Sec 46972.63 48396.30 49854.99 52403.89 55229.98 57405.63 60611.04
Latency 786µs 922µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
17177.34 1859.99 19311.76
Stat 10 25 50 75 90 95 99
Req/Sec 15764.06 16749.27 17696.42 18128.50 18428.15 18599.85 18895.91
Latency 2ms 2ms 2ms 2ms 3ms 3ms 5ms
Stat Mean Stddev Max
57469.70 9917.42 78031.04
Stat 10 25 50 75 90 95 99
Req/Sec 47212.76 48660.25 57264.33 66157.80 69932.00 71712.07 76116.71
Latency 608µs 682µs 867µs 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
49790.57 4062.90 75025.84
Stat 10 25 50 75 90 95 99
Req/Sec 46853.23 47861.12 48965.14 51393.72 54256.72 56506.78 61531.49
Latency 820µs 936µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
40509.18 4382.70 50429.17
Stat 10 25 50 75 90 95 99
Req/Sec 37195.06 38971.75 41508.39 42919.23 43827.65 44509.87 46154.24
Latency 913µs 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
78884.25 12081.73 98878.76
Stat 10 25 50 75 90 95 99
Req/Sec 59544.80 71326.74 81207.01 88212.21 92542.19 94713.02 96988.30
Latency 372µs 464µs 579µs 749µs 965µs 1ms 1ms
Stat Mean Stddev Max
30184.46 3827.93 36251.92
Stat 10 25 50 75 90 95 99
Req/Sec 28576.73 29867.31 30870.39 31917.51 32799.40 33347.87 34537.69
Latency 1ms 1ms 1ms 1ms 1ms 2ms 3ms
Stat Mean Stddev Max
46280.60 3322.45 66910.32
Stat 10 25 50 75 90 95 99
Req/Sec 44197.01 45083.18 45989.38 47402.00 49603.51 50993.54 55651.81
Latency 928µs 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
51229.24 4265.24 74348.86
Stat 10 25 50 75 90 95 99
Req/Sec 47424.12 48775.33 50716.59 53529.62 56546.85 58431.35 61968.21
Latency 747µs 908µs 994µs 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
17883.86 1591.56 28941.35
Stat 10 25 50 75 90 95 99
Req/Sec 17122.64 17619.56 18036.00 18467.09 18861.80 19108.34 19752.87
Latency 2ms 2ms 2ms 2ms 2ms 3ms 5ms
Stat Mean Stddev Max
30398.13 3143.85 32722.32
Stat 10 25 50 75 90 95 99
Req/Sec 30016.60 30444.57 31087.92 31431.40 31768.04 32012.72 32469.36
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
39678.54 2313.62 45414.28
Stat 10 25 50 75 90 95 99
Req/Sec 37779.41 39320.09 40023.88 40763.76 41432.09 41952.47 43089.46
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
39490.18 4178.13 46811.99
Stat 10 25 50 75 90 95 99
Req/Sec 36420.92 38362.56 40404.78 41547.54 42932.69 43584.42 45202.97
Latency 927µs 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
79454.93 9437.44 98348.39
Stat 10 25 50 75 90 95 99
Req/Sec 64624.51 73103.16 81514.71 86233.43 90372.34 92570.20 95311.22
Latency 391µs 473µs 570µs 745µs 959µs 1ms 1ms
Stat Mean Stddev Max
6165.80 1581.92 11377.25
Stat 10 25 50 75 90 95 99
Req/Sec 5061.81 5618.75 6316.11 6844.48 7823.61 8469.40 9153.95
Latency 6ms 7ms 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
50686.57 4459.51 74228.68
Stat 10 25 50 75 90 95 99
Req/Sec 47298.49 48335.65 49404.06 52344.21 56488.81 59016.91 66004.65
Latency 771µs 918µs 1ms 1ms 1ms 1ms 1ms

Generated 2025-01-24T01:55:56.058Z