From 747cf9271acf949e12dc4bc3739907a538d51914 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Thu, 28 Mar 2024 21:41:11 +0100 Subject: [PATCH] Updated benchmarks --- README.md | 81 +------------------------------------------------------ 1 file changed, 1 insertion(+), 80 deletions(-) diff --git a/README.md b/README.md index 3b3c9af..f5bae78 100644 --- a/README.md +++ b/README.md @@ -65,86 +65,7 @@ coverage: 100.0% of statements ## Benchmarks -### wrk - -```shell -wrk -t12 -c1000 -d2s http://127.0.0.1:8080/ -``` - -``` -Running 2s test @ http://127.0.0.1:8080/ - 12 threads and 1000 connections - Thread Stats Avg Stdev Max +/- Stdev - Latency 1.83ms 2.07ms 33.95ms 88.04% - Req/Sec 50.38k 5.34k 64.92k 71.67% - 1207398 requests in 2.03s, 46.06MB read -Requests/sec: 595860.16 -Transfer/sec: 22.73MB -``` - -### rewrk - -```shell -rewrk -t 12 -c 1000 -d 2s -h http://127.0.0.1:8080 -``` - -``` -Benchmarking 1000 connections @ http://127.0.0.1:8080 for 2 second(s) - Latencies: - Avg Stdev Min Max - 3.06ms 1.73ms 0.03ms 39.14ms - Requests: - Total: 640447 Req/Sec: 324514.85 - Transfer: - Total: 24.43 MB Transfer Rate: 12.38 MB/Sec -``` - -### ali - -```shell -ali --rate=10000 --duration=0 http://127.0.0.1:8080/ -``` - -``` -Latencies: -P50: 90μs -P90: 138μs -P95: 160μs -``` - -### oha - -```shell -oha -z 2s --no-tui http://127.0.0.1:8080/ -``` - -``` -Summary: - Success rate: 100.00% - Total: 2.0003 secs - Slowest: 0.0034 secs - Fastest: 0.0000 secs - Average: 0.0002 secs - Requests/sec: 265346.5118 -``` - -### go-wrk - -```shell -go-wrk -c 1000 -d 2 http://127.0.0.1:8080/ -``` - -``` -Running 2s test @ http://127.0.0.1:8080/ - 1000 goroutine(s) running concurrently -355214 requests in 1.97068379s, 8.81MB read -Requests/sec: 180249.11 -Transfer/sec: 4.47MB -Avg Req Time: 5.547877ms -Fastest Request: 30.66µs -Slowest Request: 95.208812ms -Number of Errors: 0 -``` +![wrk: requests per second](https://i.imgur.com/PBPH845.png) ## License