Skip to content

Latest commit

 

History

History
643 lines (466 loc) · 26.5 KB

README.md

File metadata and controls

643 lines (466 loc) · 26.5 KB

bench

📊 Daily benchmarks of deno & node & bun HTTP frameworks


Table of Contents

Overview

Hello, bench!

Requests per second

Framework Mean Stddev Max Relative
Stric 82562.22 10019.25 101505.44 100%
Bun 80979.32 9264.07 100067.55 98%
Hyper Express 78987.94 12225.98 99479.89 96%
Elysia 76674.77 11761.24 98254.61 93%
Deno 57582.91 7441.80 82631.19 70%
Fastro 51746.59 6799.31 77741.88 63%
Vixeny (Deno) 51126.55 3863.43 67224.86 62%
Fast 50001.65 3811.26 69212.52 61%
Hono 49608.98 4005.98 65119.29 60%
NHttp 49563.91 3578.10 67616.58 60%
Megalo 45153.87 3030.70 55511.52 55%
Alosaur 44578.64 2949.12 65473.02 54%
Deso 44334.46 2119.73 54830.95 54%
http 40663.57 4289.83 48997.30 49%
Cheetah 39921.96 2470.39 45428.48 48%
Reno 39770.47 2450.60 49596.68 48%
Router 38981.96 4249.03 45721.81 47%
Danet V2 (Hono) 35071.54 2555.27 36834.68 42%
Danet (Oak) 33352.38 2495.77 37062.25 40%
Aqua 30468.19 3667.92 40513.77 37%
Little 30106.74 3819.41 35064.79 36%
Oak 29744.72 3023.61 32099.60 36%
Node 17861.82 1521.95 22462.16 22%
Fastify 17232.67 1794.65 21253.59 21%
Dinatra 15580.04 2001.15 20600.17 19%
Abc 13293.44 1413.26 18149.24 16%
Express (Deno) 10142.11 1948.17 13125.20 12%
Express 6300.12 998.88 8410.14 8%
Servest 6241.27 1631.06 11582.88 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
13293.44 1413.26 18149.24
Stat 10 25 50 75 90 95 99
Req/Sec 12046.20 12678.48 13506.15 14175.19 14666.53 14964.72 15364.96
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
44578.64 2949.12 65473.02
Stat 10 25 50 75 90 95 99
Req/Sec 42962.35 43735.50 44564.28 45554.53 46905.99 47988.39 50117.01
Latency 979µs 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
30468.19 3667.92 40513.77
Stat 10 25 50 75 90 95 99
Req/Sec 27760.86 29740.91 30933.02 32292.46 33374.07 34300.25 37402.26
Latency 1ms 1ms 1ms 1ms 1ms 2ms 2ms
Stat Mean Stddev Max
80979.32 9264.07 100067.55
Stat 10 25 50 75 90 95 99
Req/Sec 65856.71 76114.65 82903.11 86583.74 92107.52 94034.50 97611.26
Latency 395µs 470µs 551µs 723µs 948µs 1ms 1ms
Stat Mean Stddev Max
39921.96 2470.39 45428.48
Stat 10 25 50 75 90 95 99
Req/Sec 38353.52 39532.74 40160.78 40980.58 41802.24 42403.88 43230.58
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
33352.38 2495.77 37062.25
Stat 10 25 50 75 90 95 99
Req/Sec 32339.34 33309.43 33800.48 34284.30 34627.28 34866.89 35357.04
Latency 1ms 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
35071.54 2555.27 36834.68
Stat 10 25 50 75 90 95 99
Req/Sec 34488.35 35114.96 35497.23 35846.69 36275.27 36433.67 36713.62
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
57582.91 7441.80 82631.19
Stat 10 25 50 75 90 95 99
Req/Sec 51204.26 52315.66 54346.06 62603.06 68552.52 71840.59 78363.42
Latency 587µs 743µs 897µs 991µs 1ms 1ms 1ms
Stat Mean Stddev Max
44334.46 2119.73 54830.95
Stat 10 25 50 75 90 95 99
Req/Sec 43207.79 43901.01 44440.04 45084.43 45617.44 46104.90 48139.36
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
15580.04 2001.15 20600.17
Stat 10 25 50 75 90 95 99
Req/Sec 14028.92 14931.08 15921.63 16814.31 17318.08 17603.45 18274.37
Latency 2ms 2ms 3ms 3ms 4ms 4ms 5ms
Stat Mean Stddev Max
76674.77 11761.24 98254.61
Stat 10 25 50 75 90 95 99
Req/Sec 58336.73 67918.73 78360.58 86260.72 90725.83 93210.09 95731.92
Latency 378µs 470µs 591µs 785µs 987µs 1ms 1ms
Stat Mean Stddev Max
6300.12 998.88 8410.14
Stat 10 25 50 75 90 95 99
Req/Sec 4945.33 5981.64 6543.09 6795.36 7399.12 7901.91 8136.74
Latency 6ms 7ms 7ms 8ms 9ms 10ms 12ms
Stat Mean Stddev Max
10142.11 1948.17 13125.20
Stat 10 25 50 75 90 95 99
Req/Sec 6641.88 10165.95 10833.21 11225.87 11412.86 11507.50 11756.27
Latency 4ms 4ms 4ms 4ms 5ms 7ms 11ms
Stat Mean Stddev Max
50001.65 3811.26 69212.52
Stat 10 25 50 75 90 95 99
Req/Sec 47211.17 48022.21 49034.02 51406.27 54467.52 56572.03 62199.80
Latency 822µs 933µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
17232.67 1794.65 21253.59
Stat 10 25 50 75 90 95 99
Req/Sec 15911.25 17100.74 17666.90 18033.52 18289.55 18450.77 18791.28
Latency 2ms 2ms 2ms 2ms 3ms 3ms 5ms
Stat Mean Stddev Max
51746.59 6799.31 77741.88
Stat 10 25 50 75 90 95 99
Req/Sec 46456.06 47600.11 49226.10 55465.15 61348.51 64910.51 71761.54
Latency 666µs 863µs 995µs 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
49608.98 4005.98 65119.29
Stat 10 25 50 75 90 95 99
Req/Sec 46491.56 47602.15 48812.69 51119.31 54886.00 57030.76 60931.38
Latency 814µs 939µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
40663.57 4289.83 48997.30
Stat 10 25 50 75 90 95 99
Req/Sec 37165.36 39272.20 41570.30 42965.66 44214.72 45039.06 46286.62
Latency 910µs 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
78987.94 12225.98 99479.89
Stat 10 25 50 75 90 95 99
Req/Sec 59231.27 71869.54 81625.19 88332.86 92503.54 94424.35 97138.27
Latency 372µs 462µs 577µs 748µs 963µs 1ms 1ms
Stat Mean Stddev Max
30106.74 3819.41 35064.79
Stat 10 25 50 75 90 95 99
Req/Sec 28733.15 29905.62 30811.00 31840.34 32580.75 32938.39 33945.00
Latency 1ms 1ms 1ms 1ms 1ms 2ms 3ms
Stat Mean Stddev Max
45153.87 3030.70 55511.52
Stat 10 25 50 75 90 95 99
Req/Sec 43535.66 44246.02 45148.43 46133.39 47614.55 49078.56 52846.31
Latency 963µs 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
49563.91 3578.10 67616.58
Stat 10 25 50 75 90 95 99
Req/Sec 46802.91 47648.91 48772.44 51088.86 54413.29 56212.69 59304.09
Latency 837µs 941µs 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
17861.82 1521.95 22462.16
Stat 10 25 50 75 90 95 99
Req/Sec 17410.74 17751.64 18023.92 18339.45 18650.84 18885.89 19536.51
Latency 2ms 2ms 2ms 2ms 2ms 2ms 5ms
Stat Mean Stddev Max
29744.72 3023.61 32099.60
Stat 10 25 50 75 90 95 99
Req/Sec 29259.73 30009.10 30311.57 30633.99 31047.89 31203.88 31599.95
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
39770.47 2450.60 49596.68
Stat 10 25 50 75 90 95 99
Req/Sec 38250.13 39459.48 40056.23 40857.95 41602.96 42039.73 42900.51
Latency 1ms 1ms 1ms 1ms 1ms 1ms 1ms
Stat Mean Stddev Max
38981.96 4249.03 45721.81
Stat 10 25 50 75 90 95 99
Req/Sec 36113.64 37912.65 39944.51 41157.29 42233.26 43141.89 44531.32
Latency 938µs 1ms 1ms 1ms 1ms 1ms 2ms
Stat Mean Stddev Max
82562.22 10019.25 101505.44
Stat 10 25 50 75 90 95 99
Req/Sec 67377.52 75944.50 84864.26 89928.60 94285.54 95922.39 97974.70
Latency 363µs 452µs 563µs 713µs 905µs 1ms 1ms
Stat Mean Stddev Max
6241.27 1631.06 11582.88
Stat 10 25 50 75 90 95 99
Req/Sec 5015.97 5527.18 6460.13 7054.29 7966.54 8491.06 9142.67
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
51126.55 3863.43 67224.86
Stat 10 25 50 75 90 95 99
Req/Sec 47696.74 48833.31 50663.28 53215.00 55846.12 57622.96 61123.20
Latency 745µs 911µs 998µs 1ms 1ms 1ms 1ms

Generated 2025-01-02T01:57:20.244Z