/bench

📊 Comparing deno & node HTTP frameworks

Primary LanguageTypeScriptMIT LicenseMIT

bench

📊 Daily benchmarks of deno & node HTTP frameworks


Table of Contents

Overview

Hello, bench!

Framework Mean Stddev Max Relative
Bun 68721.92 11692.03 91864.12 100%
Hyper Express 65220.11 18102.95 84743.74 95%
Deno 57306.41 14700.48 75237.38 83%
Hono 53095.07 13185.21 73132.57 77%
Megalo 52496.92 13893.85 68439.42 76%
Fastro 49531.92 14024.45 72506.40 72%
http 49301.28 10225.29 57429.09 72%
Fast 49116.37 12944.95 74821.24 71%
Reno 44054.10 11235.11 53018.09 64%
Node 40602.71 6470.72 44180.50 59%
Alosaur 39833.04 7557.50 48569.04 58%
Fastify 37305.90 6244.88 40334.24 54%
Router 33698.74 5400.95 37792.54 49%
Little 31112.89 4241.03 36139.20 45%
Oak 28159.15 4128.77 31945.25 41%
Aqua 27210.64 3418.12 31606.40 40%
Dinatra 21973.88 4572.73 28020.95 32%
Abc 20446.68 3257.13 24604.38 30%
Opine 11309.69 1425.50 16400.39 16%
Express 7752.05 1675.80 10142.16 11%
Servest 6709.31 1855.84 14003.98 10%
Acorn 4638.75 4113.82 80193.58 7%
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 modern runtime for JavaScript and TypeScript

Sinatra like light weight web app framework for deno.

Fast, unopinionated, minimalist web framework for Node.js

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

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

🌾A progressive http server for Deno🌾

Benchmarks

Hello, bench!

A simple benchmark which expects a response simply containing the text "Hello, Bench!"

Stat Mean Stddev Max
20446.68 3257.13 24604.38
Stat 10 25 50 75 90 95 99
Req/Sec 17229.57 19641.18 20942.01 22598.82 23247.61 23611.47 24344.66
Latency 2ms 2ms 2ms 2ms 2ms 3ms 5ms
Stat Mean Stddev Max
4638.75 4113.82 80193.58
Stat 10 25 50 75 90 95 99
Req/Sec 1102.33 2759.94 3687.35 5331.87 10049.56 12416.32 15021.01
Latency 3ms 4ms 11ms 16ms 20ms 20ms 21ms
Stat Mean Stddev Max
39833.04 7557.50 48569.04
Stat 10 25 50 75 90 95 99
Req/Sec 30301.41 39501.84 43360.82 43931.82 44337.06 44543.06 44953.33
Latency 966µs 1ms 1ms 1ms 1ms 1ms 4ms
Stat Mean Stddev Max
27210.64 3418.12 31606.40
Stat 10 25 50 75 90 95 99
Req/Sec 24613.94 25963.06 28352.86 29083.08 29664.28 29930.64 30272.48
Latency 1ms 1ms 1ms 1ms 1ms 2ms 3ms
Stat Mean Stddev Max
68721.92 11692.03 91864.12
Stat 10 25 50 75 90 95 99
Req/Sec 56016.88 59699.17 66008.36 80231.60 82278.53 83309.44 85928.82
Latency 445µs 558µs 674µs 807µs 1ms 1ms 1ms
Stat Mean Stddev Max
57306.41 14700.48 75237.38
Stat 10 25 50 75 90 95 99
Req/Sec 36801.66 47945.48 63321.57 70013.77 71106.88 71765.03 72714.95
Latency 549µs 660µs 778µs 878µs 1ms 1ms 2ms
Stat Mean Stddev Max
21973.88 4572.73 28020.95
Stat 10 25 50 75 90 95 99
Req/Sec 15204.45 19839.22 24106.92 24722.17 25755.31 26488.02 27138.63
Latency 1ms 2ms 2ms 2ms 3ms 3ms 5ms
Stat Mean Stddev Max
7752.05 1675.80 10142.16
Stat 10 25 50 75 90 95 99
Req/Sec 5604.97 6046.60 8792.83 8937.78 9021.08 9043.87 9076.21
Latency 5ms 5ms 5ms 6ms 8ms 9ms 13ms
Stat Mean Stddev Max
49116.37 12944.95 74821.24
Stat 10 25 50 75 90 95 99
Req/Sec 31136.92 44812.40 49138.16 54934.90 67624.12 68798.33 69847.00
Latency 637µs 728µs 869µs 1ms 1ms 1ms 3ms
Stat Mean Stddev Max
37305.90 6244.88 40334.24
Stat 10 25 50 75 90 95 99
Req/Sec 37429.15 38270.75 38848.04 39405.86 39684.88 39801.77 39907.13
Latency 1ms 1ms 1ms 1ms 1ms 1ms 3ms
Stat Mean Stddev Max
49531.92 14024.45 72506.40
Stat 10 25 50 75 90 95 99
Req/Sec 27727.45 45619.01 49735.28 62117.83 67094.19 67943.94 69246.86
Latency 601µs 743µs 847µs 1ms 1ms 1ms 3ms
Stat Mean Stddev Max
53095.07 13185.21 73132.57
Stat 10 25 50 75 90 95 99
Req/Sec 35354.63 46676.58 51942.87 66900.43 68431.16 68985.59 69824.62
Latency 588µs 711µs 818µs 1ms 1ms 1ms 3ms
Stat Mean Stddev Max
49301.28 10225.29 57429.09
Stat 10 25 50 75 90 95 99
Req/Sec 31656.18 48993.85 54455.84 55060.92 55443.17 55683.57 56013.76
Latency 803µs 889µs 939µs 968µs 1ms 1ms 3ms
Stat Mean Stddev Max
65220.11 18102.95 84743.74
Stat 10 25 50 75 90 95 99
Req/Sec 41059.38 42414.78 76986.69 81049.21 82273.65 82813.76 83594.97
Latency 473µs 554µs 674µs 935µs 1ms 1ms 1ms
Stat Mean Stddev Max
31112.89 4241.03 36139.20
Stat 10 25 50 75 90 95 99
Req/Sec 28122.34 29534.00 33077.63 33505.12 33781.19 34277.61 34684.61
Latency 1ms 1ms 1ms 1ms 1ms 2ms 3ms
Stat Mean Stddev Max
52496.92 13893.85 68439.42
Stat 10 25 50 75 90 95 99
Req/Sec 29693.88 44548.52 60976.20 63031.47 63715.79 64079.24 64778.68
Latency 706µs 754µs 808µs 889µs 1ms 1ms 3ms
Stat Mean Stddev Max
40602.71 6470.72 44180.50
Stat 10 25 50 75 90 95 99
Req/Sec 40467.66 41596.45 42110.70 42790.66 43062.96 43201.23 43465.28
Latency 1ms 1ms 1ms 1ms 1ms 1ms 3ms
Stat Mean Stddev Max
28159.15 4128.77 31945.25
Stat 10 25 50 75 90 95 99
Req/Sec 24914.60 26917.76 29871.94 30145.03 30482.45 31013.46 31348.93
Latency 1ms 1ms 1ms 1ms 1ms 2ms 3ms
Stat Mean Stddev Max
11309.69 1425.50 16400.39
Stat 10 25 50 75 90 95 99
Req/Sec 10026.47 11066.85 11729.25 11817.84 11932.30 12653.78 13402.47
Latency 3ms 4ms 4ms 4ms 5ms 5ms 7ms
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
44054.10 11235.11 53018.09
Stat 10 25 50 75 90 95 99
Req/Sec 25072.71 39023.70 50119.62 50827.48 51321.63 51610.71 52119.02
Latency 906µs 962µs 996µs 1ms 1ms 1ms 4ms
Stat Mean Stddev Max
33698.74 5400.95 37792.54
Stat 10 25 50 75 90 95 99
Req/Sec 29500.39 31523.16 36318.58 36657.08 36884.27 37025.14 37433.06
Latency 1ms 1ms 1ms 1ms 1ms 2ms 3ms
Stat Mean Stddev Max
6709.31 1855.84 14003.98
Stat 10 25 50 75 90 95 99
Req/Sec 4405.07 6319.29 7313.66 7772.61 8127.81 8322.19 9599.73
Latency 6ms 6ms 6ms 7ms 10ms 12ms 19ms

Generated 2023-02-21T01:56:00.178Z