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
Stric 82309.60 9195.22 98742.62 100%
Bun 82078.64 8857.23 99041.86 100%
Hyper Express 79938.64 12296.05 100617.36 97%
Elysia 78952.52 11828.99 99701.75 96%
Deno 59037.83 8337.64 85134.18 72%
Fast 51155.06 4678.29 71183.69 62%
Vixeny (Deno) 50888.73 4162.68 71783.35 62%
NHttp 50861.74 4031.56 76529.60 62%
Fastro 49521.78 4255.76 70932.28 60%
Hono 49162.87 3567.00 64329.13 60%
Deso 45771.35 2664.72 55717.14 56%
Megalo 45488.43 2995.86 73215.27 55%
Alosaur 43649.52 2928.71 61206.38 53%
http 40720.67 4084.61 48937.59 49%
Cheetah 40123.63 2707.23 49038.81 49%
Router 39903.18 3876.55 47300.63 48%
Reno 39263.75 2543.01 45826.43 48%
Danet V2 (Hono) 35348.44 2500.67 40665.15 43%
Danet (Oak) 33387.09 2432.96 36067.94 41%
Aqua 31356.46 3885.22 42032.68 38%
Little 31344.25 3968.62 36568.25 38%
Oak 30695.32 3156.15 34460.33 37%
Node 18027.62 1464.85 20222.29 22%
Dinatra 17559.10 2294.90 21739.25 21%
Fastify 17465.27 1856.68 20400.37 21%
Abc 13885.63 1462.77 18665.25 17%
Express (Deno) 10595.19 1962.61 12822.63 13%
Express 6393.89 1005.45 8382.49 8%
Servest 6214.68 1576.66 11522.15 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
13885.63 1462.77 18665.25
Stat 10 25 50 75 90 95 99
Req/Sec 12441.39 13377.29 14252.31 14738.50 15091.05 15292.69 15764.43
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
43649.52 2928.71 61206.38
Stat 10 25 50 75 90 95 99
Req/Sec 41858.89 42942.13 43891.69 44661.55 45767.26 46601.05 48698.24
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
31356.46 3885.22 42032.68
Stat 10 25 50 75 90 95 99
Req/Sec 28237.69 30454.70 32045.64 33251.99 34407.14 35321.81 39249.32
Latency 1ms 1ms 1ms 1ms 1ms 2ms 2ms
Stat Mean Stddev Max
82078.64 8857.23 99041.86
Stat 10 25 50 75 90 95 99
Req/Sec 68147.39 76508.89 84917.97 88318.38 91840.54 93901.57 97508.69
Latency 386µs 455µs 549µs 726µs 922µs 1ms 1ms
Stat Mean Stddev Max
40123.63 2707.23 49038.81
Stat 10 25 50 75 90 95 99
Req/Sec 37548.21 39730.53 40617.08 41236.68 42073.71 42921.26 44725.63
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
33387.09 2432.96 36067.94
Stat 10 25 50 75 90 95 99
Req/Sec 32896.60 33322.65 33718.25 34204.67 34495.11 34650.13 35156.29
Latency 1ms 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
35348.44 2500.67 40665.15
Stat 10 25 50 75 90 95 99
Req/Sec 34439.10 35341.57 35717.17 36210.52 36654.48 36963.43 37644.31
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
59037.83 8337.64 85134.18
Stat 10 25 50 75 90 95 99
Req/Sec 51916.65 53102.35 55231.11 64381.68 71896.94 76004.64 80741.32
Latency 567µs 708µs 877µs 973µs 1ms 1ms 1ms
Stat Mean Stddev Max
45771.35 2664.72 55717.14
Stat 10 25 50 75 90 95 99
Req/Sec 43914.83 44619.89 45525.49 47108.99 48402.11 49568.24 51626.94
Latency 966µs 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
17559.10 2294.90 21739.25
Stat 10 25 50 75 90 95 99
Req/Sec 15805.92 16757.22 18040.93 18929.37 19586.00 19903.33 20386.10
Latency 2ms 2ms 2ms 2ms 3ms 3ms 4ms
Stat Mean Stddev Max
78952.52 11828.99 99701.75
Stat 10 25 50 75 90 95 99
Req/Sec 60209.81 71065.51 81171.40 88302.75 92819.54 94661.20 98024.89
Latency 374µs 463µs 577µs 749µs 959µs 1ms 1ms
Stat Mean Stddev Max
6393.89 1005.45 8382.49
Stat 10 25 50 75 90 95 99
Req/Sec 5047.67 6083.20 6645.02 6872.85 7400.57 8088.24 8309.48
Latency 6ms 7ms 7ms 8ms 9ms 10ms 11ms
Stat Mean Stddev Max
10595.19 1962.61 12822.63
Stat 10 25 50 75 90 95 99
Req/Sec 7225.24 10582.47 11357.76 11600.49 11785.48 11961.64 12490.88
Latency 3ms 3ms 4ms 4ms 5ms 6ms 10ms
Stat Mean Stddev Max
51155.06 4678.29 71183.69
Stat 10 25 50 75 90 95 99
Req/Sec 47444.07 48501.07 49767.51 53122.31 57633.91 60238.32 65008.50
Latency 729µs 910µs 999µs 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
17465.27 1856.68 20400.37
Stat 10 25 50 75 90 95 99
Req/Sec 16008.58 17222.94 18012.84 18402.42 18638.15 18833.84 19117.37
Latency 2ms 2ms 2ms 2ms 3ms 3ms 5ms
Stat Mean Stddev Max
49521.78 4255.76 70932.28
Stat 10 25 50 75 90 95 99
Req/Sec 46540.81 47601.81 48596.97 50967.56 54359.21 56804.07 63002.09
Latency 831µs 942µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
49162.87 3567.00 64329.13
Stat 10 25 50 75 90 95 99
Req/Sec 46661.62 47502.54 48501.35 50596.84 53203.38 55132.56 59088.40
Latency 850µs 947µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
40720.67 4084.61 48937.59
Stat 10 25 50 75 90 95 99
Req/Sec 37176.39 39309.95 41415.36 43106.59 44232.80 45225.06 46566.26
Latency 913µs 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
79938.64 12296.05 100617.36
Stat 10 25 50 75 90 95 99
Req/Sec 60598.71 71559.41 82711.98 89442.78 93785.41 95742.71 98211.44
Latency 371µs 460µs 572µs 735µs 950µs 1ms 1ms
Stat Mean Stddev Max
31344.25 3968.62 36568.25
Stat 10 25 50 75 90 95 99
Req/Sec 29311.27 30863.83 32250.66 33260.40 34055.02 34626.94 35696.95
Latency 1ms 1ms 1ms 1ms 1ms 2ms 3ms
Stat Mean Stddev Max
45488.43 2995.86 73215.27
Stat 10 25 50 75 90 95 99
Req/Sec 43909.12 44755.69 45446.75 46214.42 47068.32 48592.57 53807.94
Latency 965µs 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
50861.74 4031.56 76529.60
Stat 10 25 50 75 90 95 99
Req/Sec 47837.86 48703.33 49816.11 52744.69 55521.09 57960.03 63458.56
Latency 789µs 917µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
18027.62 1464.85 20222.29
Stat 10 25 50 75 90 95 99
Req/Sec 17643.58 17916.07 18218.71 18511.67 18809.78 18963.02 19371.72
Latency 2ms 2ms 2ms 2ms 2ms 2ms 5ms
Stat Mean Stddev Max
30695.32 3156.15 34460.33
Stat 10 25 50 75 90 95 99
Req/Sec 30233.94 31028.39 31307.68 31616.06 32047.94 32208.28 32534.46
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
39263.75 2543.01 45826.43
Stat 10 25 50 75 90 95 99
Req/Sec 36606.45 38742.05 39802.79 40579.85 41218.76 41815.55 43280.19
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
39903.18 3876.55 47300.63
Stat 10 25 50 75 90 95 99
Req/Sec 37297.52 38907.75 40635.02 41765.16 43129.67 43691.54 45111.07
Latency 925µs 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
82309.60 9195.22 98742.62
Stat 10 25 50 75 90 95 99
Req/Sec 68323.96 76126.59 83458.08 89695.79 93574.41 95321.32 97547.05
Latency 366µs 455µs 569µs 718µs 904µs 1ms 1ms
Stat Mean Stddev Max
6214.68 1576.66 11522.15
Stat 10 25 50 75 90 95 99
Req/Sec 5114.01 5590.74 6447.70 6943.04 7818.08 8345.36 9048.62
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
50888.73 4162.68 71783.35
Stat 10 25 50 75 90 95 99
Req/Sec 47623.96 48645.25 49821.39 52760.72 56218.42 58731.18 63379.74
Latency 779µs 916µs 1ms 1ms 1ms 1ms 1ms

Generated 2025-01-17T01:54:32.119Z