File tree Expand file tree Collapse file tree 1 file changed +35
-1
lines changed Expand file tree Collapse file tree 1 file changed +35
-1
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,41 @@ module.exports = {
30
30
fetch : (request ) => router .lookup (request)
31
31
}
32
32
```
33
-
33
+ # Benchmarks
34
+ ## 0http-bun
35
+ ```
36
+ % wrk -t4 -c50 -d10s --latency http://127.0.0.1:3000/hi
37
+ Running 10s test @ http://127.0.0.1:3000/hi
38
+ 4 threads and 50 connections
39
+ Thread Stats Avg Stdev Max +/- Stdev
40
+ Latency 463.26us 99.23us 4.28ms 96.62%
41
+ Req/Sec 25.98k 1.10k 27.48k 76.73%
42
+ Latency Distribution
43
+ 50% 442.00us
44
+ 75% 466.00us
45
+ 90% 485.00us
46
+ 99% 0.91ms
47
+ 1044377 requests in 10.10s, 127.49MB read
48
+ Requests/sec: 103397.66
49
+ Transfer/sec: 12.62MB
50
+ ```
51
+ ## 0http-node
52
+ ```
53
+ % wrk -t4 -c50 -d10s --latency http://127.0.0.1:3000/hi
54
+ Running 10s test @ http://127.0.0.1:3000/hi
55
+ 4 threads and 50 connections
56
+ Thread Stats Avg Stdev Max +/- Stdev
57
+ Latency 0.98ms 251.77us 13.04ms 95.09%
58
+ Req/Sec 12.31k 771.37 16.96k 95.29%
59
+ Latency Distribution
60
+ 50% 0.95ms
61
+ 75% 0.96ms
62
+ 90% 0.98ms
63
+ 99% 1.88ms
64
+ 493899 requests in 10.10s, 63.59MB read
65
+ Requests/sec: 48893.32
66
+ Transfer/sec: 6.29MB
67
+ ```
34
68
# Support / Donate 💚
35
69
You can support the maintenance of this project:
36
70
- PayPal: https://www.paypal.me/kyberneees
You can’t perform that action at this time.
0 commit comments