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 79743.25 9187.07 100867.06 100%
Stric 79004.95 9508.50 101239.08 99%
Vixeny (Bun) 76619.14 13708.19 100725.06 96%
Hyper Express 75858.53 15443.55 98467.02 95%
Elysia 74933.38 13430.82 100351.12 94%
Deno 65349.13 12118.56 89808.78 82%
Fast 53763.44 7514.76 79474.56 67%
Vixeny (Deno) 53688.91 6997.05 82644.00 67%
NHttp 51206.02 6062.35 82910.39 64%
Hono 50851.46 5434.21 76248.23 64%
Fastro 47844.33 5272.34 65361.98 60%
Megalo 47364.58 3243.35 67084.95 59%
Deso 47069.49 3524.79 61145.03 59%
Alosaur 45188.55 2882.14 54906.07 57%
http 41492.62 4101.84 51736.81 52%
Cheetah 41174.82 2400.87 52646.56 52%
Reno 40095.67 2397.90 44757.88 50%
Router 39948.83 3852.68 45487.57 50%
Danet V2 (Hono) 36369.41 2528.60 40708.01 46%
Danet (Oak) 34129.04 2628.91 36306.13 43%
Aqua 31858.92 3534.14 39434.71 40%
Little 31491.53 4010.56 37226.80 39%
Oak 30791.22 3144.07 33830.11 39%
Node 16871.77 1567.93 33157.27 21%
Dinatra 16598.92 2174.54 20122.69 21%
Fastify 16436.34 1742.62 23526.78 21%
Abc 13384.92 2031.72 22647.29 17%
Express (Deno) 10233.45 1943.64 12175.71 13%
Express 6319.47 1012.75 7990.05 8%
Servest 6207.03 1546.41 11448.58 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%
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
13384.92 2031.72 22647.29
Stat 10 25 50 75 90 95 99
Req/Sec 11737.46 12551.46 13232.47 14008.19 14864.13 16860.65 21211.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
45188.55 2882.14 54906.07
Stat 10 25 50 75 90 95 99
Req/Sec 43251.28 44274.09 45209.66 46415.89 47616.47 48888.52 51381.62
Latency 964µs 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
31858.92 3534.14 39434.71
Stat 10 25 50 75 90 95 99
Req/Sec 29909.83 31115.52 32614.87 33561.06 34589.18 35008.89 36025.66
Latency 1ms 1ms 1ms 1ms 1ms 2ms 2ms
Stat Mean Stddev Max
79743.25 9187.07 100867.06
Stat 10 25 50 75 90 95 99
Req/Sec 68034.00 72428.15 79436.55 86892.83 92227.51 95252.51 98360.49
Latency 373µs 463µs 585µs 744µs 941µs 1ms 1ms
Stat Mean Stddev Max
41174.82 2400.87 52646.56
Stat 10 25 50 75 90 95 99
Req/Sec 39131.65 40705.09 41478.64 42142.30 42838.28 43625.79 45045.23
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
34129.04 2628.91 36306.13
Stat 10 25 50 75 90 95 99
Req/Sec 33322.58 34240.87 34549.89 34920.94 35285.40 35446.95 35785.95
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
36369.41 2528.60 40708.01
Stat 10 25 50 75 90 95 99
Req/Sec 35786.36 36419.58 36706.44 37070.43 37503.45 37668.61 38055.29
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
65349.13 12118.56 89808.78
Stat 10 25 50 75 90 95 99
Req/Sec 52906.48 54444.93 62786.55 76407.92 82731.69 85641.98 88796.83
Latency 520µs 572µs 778µs 931µs 1ms 1ms 1ms
Stat Mean Stddev Max
47069.49 3524.79 61145.03
Stat 10 25 50 75 90 95 99
Req/Sec 44360.39 45303.20 46342.32 48841.43 51276.77 52873.63 56244.80
Latency 887µs 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
16598.92 2174.54 20122.69
Stat 10 25 50 75 90 95 99
Req/Sec 15002.34 15870.11 17006.43 17900.78 18550.87 18977.56 19556.31
Latency 2ms 2ms 2ms 3ms 3ms 3ms 5ms
Stat Mean Stddev Max
74933.38 13430.82 100351.12
Stat 10 25 50 75 90 95 99
Req/Sec 57926.32 62168.07 74713.21 87204.58 93512.00 96069.67 98538.81
Latency 387µs 476µs 607µs 822µs 993µs 1ms 1ms
Stat Mean Stddev Max
6319.47 1012.75 7990.05
Stat 10 25 50 75 90 95 99
Req/Sec 4871.46 5962.81 6471.51 6759.26 7700.55 7842.40 7936.85
Latency 6ms 7ms 7ms 8ms 9ms 10ms 13ms
Stat Mean Stddev Max
10233.45 1943.64 12175.71
Stat 10 25 50 75 90 95 99
Req/Sec 6783.38 10305.06 11067.79 11274.26 11399.53 11465.00 11789.55
Latency 3ms 4ms 4ms 4ms 5ms 6ms 10ms
Stat Mean Stddev Max
53763.44 7514.76 79474.56
Stat 10 25 50 75 90 95 99
Req/Sec 48115.78 49287.57 50515.77 57357.61 65886.33 69323.60 77074.10
Latency 614µs 847µs 969µs 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
16436.34 1742.62 23526.78
Stat 10 25 50 75 90 95 99
Req/Sec 15488.16 15976.60 16780.58 17256.12 17607.93 17819.81 18305.42
Latency 2ms 2ms 2ms 3ms 3ms 3ms 6ms
Stat Mean Stddev Max
47844.33 5272.34 65361.98
Stat 10 25 50 75 90 95 99
Req/Sec 46365.85 47503.44 48523.22 49373.47 50205.54 51632.45 56178.89
Latency 895µs 957µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
50851.46 5434.21 76248.23
Stat 10 25 50 75 90 95 99
Req/Sec 47096.92 48111.80 49196.03 52033.17 58501.49 62502.53 67844.20
Latency 729µs 918µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
41492.62 4101.84 51736.81
Stat 10 25 50 75 90 95 99
Req/Sec 38207.34 40335.98 42534.43 43554.46 44724.13 45464.40 46780.46
Latency 886µs 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
75858.53 15443.55 98467.02
Stat 10 25 50 75 90 95 99
Req/Sec 54829.53 60002.56 79054.28 90150.33 94242.68 95619.37 97436.06
Latency 373µs 476µs 602µs 810µs 989µs 1ms 1ms
Stat Mean Stddev Max
31491.53 4010.56 37226.80
Stat 10 25 50 75 90 95 99
Req/Sec 29528.86 31239.07 32427.00 33364.66 34119.01 34585.82 35554.33
Latency 1ms 1ms 1ms 1ms 1ms 2ms 3ms
Stat Mean Stddev Max
47364.58 3243.35 67084.95
Stat 10 25 50 75 90 95 99
Req/Sec 45402.41 46201.07 46878.28 47755.85 50680.45 52943.34 57485.65
Latency 915µs 983µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
51206.02 6062.35 82910.39
Stat 10 25 50 75 90 95 99
Req/Sec 47898.02 48819.16 49784.09 50861.42 56352.77 66042.67 76919.50
Latency 776µs 911µs 999µs 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
16871.77 1567.93 33157.27
Stat 10 25 50 75 90 95 99
Req/Sec 16472.08 16775.00 17026.99 17301.18 17553.92 17814.68 18778.54
Latency 2ms 2ms 2ms 2ms 3ms 3ms 5ms
Stat Mean Stddev Max
30791.22 3144.07 33830.11
Stat 10 25 50 75 90 95 99
Req/Sec 30261.15 31091.40 31400.73 31807.12 32158.14 32354.01 32725.45
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
40095.67 2397.90 44757.88
Stat 10 25 50 75 90 95 99
Req/Sec 38103.69 39722.75 40619.96 41114.45 41776.85 42205.17 43401.62
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
39948.83 3852.68 45487.57
Stat 10 25 50 75 90 95 99
Req/Sec 37708.63 39039.49 40812.32 41802.87 42731.61 43312.24 44290.29
Latency 916µs 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
79004.95 9508.50 101239.08
Stat 10 25 50 75 90 95 99
Req/Sec 66406.30 71214.34 79118.26 86372.48 92318.16 94715.95 98056.12
Latency 376µs 468µs 592µs 752µs 945µs 1ms 1ms
Stat Mean Stddev Max
6207.03 1546.41 11448.58
Stat 10 25 50 75 90 95 99
Req/Sec 5063.45 5644.17 6324.00 6855.42 7829.94 8492.57 9718.56
Latency 6ms 7ms 7ms 8ms 9ms 12ms 14ms
Stat Mean Stddev Max
76619.14 13708.19 100725.06
Stat 10 25 50 75 90 95 99
Req/Sec 58801.82 63275.64 77798.70 89188.09 94323.27 96002.33 99042.60
Latency 380µs 469µs 593µs 794µs 982µs 1ms 1ms
Stat Mean Stddev Max
53688.91 6997.05 82644.00
Stat 10 25 50 75 90 95 99
Req/Sec 48763.59 49693.13 50822.78 56477.68 63431.39 68124.95 78718.99
Latency 618µs 859µs 967µs 1ms 1ms 1ms 1ms

Generated 2024-11-09T01:53:34.138Z