forked from grafana/k6
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add libp2p/go-buffer-pool benchmark results
- Loading branch information
Ivan Mirić
committed
Mar 9, 2023
1 parent
71184fa
commit 146ff04
Showing
5 changed files
with
223 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
goos: linux | ||
goarch: amd64 | ||
pkg: go.k6.io/k6/cmd/tests | ||
cpu: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz | ||
BenchmarkReadResponseBody-12 1 10570152997 ns/op 4953792312 B/op 4587858 allocs/op | ||
BenchmarkReadResponseBody-12 1 10240581333 ns/op 4881931968 B/op 2589068 allocs/op | ||
BenchmarkReadResponseBody-12 1 10263822905 ns/op 4938270592 B/op 2611122 allocs/op | ||
BenchmarkReadResponseBody-12 1 10216545793 ns/op 4996056992 B/op 2640849 allocs/op | ||
BenchmarkReadResponseBody-12 1 10186773652 ns/op 4853001624 B/op 2580306 allocs/op | ||
BenchmarkReadResponseBody-12 1 10209157218 ns/op 4840467488 B/op 2568908 allocs/op | ||
BenchmarkReadResponseBody-12 1 10205571413 ns/op 4829455664 B/op 2561798 allocs/op | ||
BenchmarkReadResponseBody-12 1 10229803414 ns/op 4812241696 B/op 2555493 allocs/op | ||
BenchmarkReadResponseBody-12 1 10230974005 ns/op 4890845256 B/op 2591734 allocs/op | ||
BenchmarkReadResponseBody-12 1 10212988956 ns/op 4913515136 B/op 2604099 allocs/op | ||
PASS | ||
ok go.k6.io/k6/cmd/tests 102.675s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
name old time/op new time/op delta | ||
ReadResponseBody-12 10.2s ± 0% 10.2s ± 0% ~ (p=0.796 n=9+9) | ||
|
||
name old alloc/op new alloc/op delta | ||
ReadResponseBody-12 4.89GB ± 2% 5.06GB ± 2% +3.48% (p=0.000 n=10+10) | ||
|
||
name old allocs/op new allocs/op delta | ||
ReadResponseBody-12 2.59M ± 2% 2.61M ± 1% ~ (p=0.094 n=9+9) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
goos: linux | ||
goarch: amd64 | ||
pkg: go.k6.io/k6/cmd/tests | ||
cpu: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz | ||
BenchmarkReadResponseBody-12 1 10518114980 ns/op 5065535160 B/op 4580523 allocs/op | ||
BenchmarkReadResponseBody-12 1 10224855511 ns/op 4971942640 B/op 2571113 allocs/op | ||
BenchmarkReadResponseBody-12 1 10216393046 ns/op 5099297392 B/op 2624306 allocs/op | ||
BenchmarkReadResponseBody-12 1 10247758933 ns/op 5026927000 B/op 2595555 allocs/op | ||
BenchmarkReadResponseBody-12 1 10238404783 ns/op 5112247016 B/op 2628183 allocs/op | ||
BenchmarkReadResponseBody-12 1 10207009956 ns/op 5033434136 B/op 2594657 allocs/op | ||
BenchmarkReadResponseBody-12 1 10214181116 ns/op 5044382848 B/op 2598873 allocs/op | ||
BenchmarkReadResponseBody-12 1 10198051157 ns/op 5075581344 B/op 2608130 allocs/op | ||
BenchmarkReadResponseBody-12 1 10222586488 ns/op 5074397672 B/op 2617621 allocs/op | ||
BenchmarkReadResponseBody-12 1 10240977114 ns/op 5106779880 B/op 2621630 allocs/op | ||
PASS | ||
ok go.k6.io/k6/cmd/tests 102.647s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,173 @@ | ||
|
||
/\ |‾‾| /‾‾/ /‾‾/ | ||
/\ / \ | |/ / / / | ||
/ \/ \ | ( / ‾‾\ | ||
/ \ | |\ \ | (‾) | | ||
/ __________ \ |__| \__\ \_____/ .io | ||
|
||
execution: local | ||
script: /home/ivan/.local/tmp/test-http-server/ned-test-2879/test.js | ||
output: - | ||
|
||
scenarios: (100.00%) 1 scenario, 50 max VUs, 10m30s max duration (incl. graceful stop): | ||
* default: 20000 iterations shared among 50 VUs (maxDuration: 10m0s, gracefulStop: 30s) | ||
|
||
|
||
running (00m01.0s), 50/50 VUs, 457 complete and 0 interrupted iterations | ||
default [ 2% ] 50 VUs 00m01.0s/10m0s 00457/20000 shared iters | ||
|
||
running (00m02.0s), 50/50 VUs, 929 complete and 0 interrupted iterations | ||
default [ 5% ] 50 VUs 00m02.0s/10m0s 00929/20000 shared iters | ||
|
||
running (00m03.0s), 50/50 VUs, 1401 complete and 0 interrupted iterations | ||
default [ 7% ] 50 VUs 00m03.0s/10m0s 01401/20000 shared iters | ||
|
||
running (00m04.0s), 50/50 VUs, 1873 complete and 0 interrupted iterations | ||
default [ 9% ] 50 VUs 00m04.0s/10m0s 01873/20000 shared iters | ||
|
||
running (00m05.0s), 50/50 VUs, 2332 complete and 0 interrupted iterations | ||
default [ 12% ] 50 VUs 00m05.0s/10m0s 02332/20000 shared iters | ||
|
||
running (00m06.0s), 50/50 VUs, 2802 complete and 0 interrupted iterations | ||
default [ 14% ] 50 VUs 00m06.0s/10m0s 02802/20000 shared iters | ||
|
||
running (00m07.0s), 50/50 VUs, 3237 complete and 0 interrupted iterations | ||
default [ 16% ] 50 VUs 00m07.0s/10m0s 03237/20000 shared iters | ||
|
||
running (00m08.0s), 50/50 VUs, 3702 complete and 0 interrupted iterations | ||
default [ 19% ] 50 VUs 00m08.0s/10m0s 03702/20000 shared iters | ||
|
||
running (00m09.0s), 50/50 VUs, 4169 complete and 0 interrupted iterations | ||
default [ 21% ] 50 VUs 00m09.0s/10m0s 04169/20000 shared iters | ||
|
||
running (00m10.0s), 50/50 VUs, 4632 complete and 0 interrupted iterations | ||
default [ 23% ] 50 VUs 00m10.0s/10m0s 04632/20000 shared iters | ||
|
||
running (00m11.0s), 50/50 VUs, 5057 complete and 0 interrupted iterations | ||
default [ 25% ] 50 VUs 00m11.0s/10m0s 05057/20000 shared iters | ||
|
||
running (00m12.0s), 50/50 VUs, 5481 complete and 0 interrupted iterations | ||
default [ 27% ] 50 VUs 00m12.0s/10m0s 05481/20000 shared iters | ||
|
||
running (00m13.0s), 50/50 VUs, 5933 complete and 0 interrupted iterations | ||
default [ 30% ] 50 VUs 00m13.0s/10m0s 05933/20000 shared iters | ||
|
||
running (00m14.0s), 50/50 VUs, 6338 complete and 0 interrupted iterations | ||
default [ 32% ] 50 VUs 00m14.0s/10m0s 06338/20000 shared iters | ||
|
||
running (00m15.0s), 50/50 VUs, 6754 complete and 0 interrupted iterations | ||
default [ 34% ] 50 VUs 00m15.0s/10m0s 06754/20000 shared iters | ||
|
||
running (00m16.0s), 50/50 VUs, 7153 complete and 0 interrupted iterations | ||
default [ 36% ] 50 VUs 00m16.0s/10m0s 07153/20000 shared iters | ||
|
||
running (00m17.0s), 50/50 VUs, 7604 complete and 0 interrupted iterations | ||
default [ 38% ] 50 VUs 00m17.0s/10m0s 07604/20000 shared iters | ||
|
||
running (00m18.0s), 50/50 VUs, 8004 complete and 0 interrupted iterations | ||
default [ 40% ] 50 VUs 00m18.0s/10m0s 08004/20000 shared iters | ||
|
||
running (00m19.0s), 50/50 VUs, 8411 complete and 0 interrupted iterations | ||
default [ 42% ] 50 VUs 00m19.0s/10m0s 08411/20000 shared iters | ||
|
||
running (00m20.0s), 50/50 VUs, 8854 complete and 0 interrupted iterations | ||
default [ 44% ] 50 VUs 00m20.0s/10m0s 08854/20000 shared iters | ||
|
||
running (00m21.0s), 50/50 VUs, 9288 complete and 0 interrupted iterations | ||
default [ 46% ] 50 VUs 00m21.0s/10m0s 09288/20000 shared iters | ||
|
||
running (00m22.0s), 50/50 VUs, 9730 complete and 0 interrupted iterations | ||
default [ 49% ] 50 VUs 00m22.0s/10m0s 09730/20000 shared iters | ||
|
||
running (00m23.0s), 50/50 VUs, 10169 complete and 0 interrupted iterations | ||
default [ 51% ] 50 VUs 00m23.0s/10m0s 10169/20000 shared iters | ||
|
||
running (00m24.0s), 50/50 VUs, 10611 complete and 0 interrupted iterations | ||
default [ 53% ] 50 VUs 00m24.0s/10m0s 10611/20000 shared iters | ||
|
||
running (00m25.0s), 50/50 VUs, 11056 complete and 0 interrupted iterations | ||
default [ 55% ] 50 VUs 00m25.0s/10m0s 11056/20000 shared iters | ||
|
||
running (00m26.0s), 50/50 VUs, 11488 complete and 0 interrupted iterations | ||
default [ 57% ] 50 VUs 00m26.0s/10m0s 11488/20000 shared iters | ||
|
||
running (00m27.0s), 50/50 VUs, 11935 complete and 0 interrupted iterations | ||
default [ 60% ] 50 VUs 00m27.0s/10m0s 11935/20000 shared iters | ||
|
||
running (00m28.0s), 50/50 VUs, 12371 complete and 0 interrupted iterations | ||
default [ 62% ] 50 VUs 00m28.0s/10m0s 12371/20000 shared iters | ||
|
||
running (00m29.0s), 50/50 VUs, 12773 complete and 0 interrupted iterations | ||
default [ 64% ] 50 VUs 00m29.0s/10m0s 12773/20000 shared iters | ||
|
||
running (00m30.0s), 50/50 VUs, 13190 complete and 0 interrupted iterations | ||
default [ 66% ] 50 VUs 00m30.0s/10m0s 13190/20000 shared iters | ||
|
||
running (00m31.0s), 50/50 VUs, 13618 complete and 0 interrupted iterations | ||
default [ 68% ] 50 VUs 00m31.0s/10m0s 13618/20000 shared iters | ||
|
||
running (00m32.0s), 50/50 VUs, 14051 complete and 0 interrupted iterations | ||
default [ 70% ] 50 VUs 00m32.0s/10m0s 14051/20000 shared iters | ||
|
||
running (00m33.0s), 50/50 VUs, 14482 complete and 0 interrupted iterations | ||
default [ 72% ] 50 VUs 00m33.0s/10m0s 14482/20000 shared iters | ||
|
||
running (00m34.0s), 50/50 VUs, 14927 complete and 0 interrupted iterations | ||
default [ 75% ] 50 VUs 00m34.0s/10m0s 14927/20000 shared iters | ||
|
||
running (00m35.0s), 50/50 VUs, 15370 complete and 0 interrupted iterations | ||
default [ 77% ] 50 VUs 00m35.0s/10m0s 15370/20000 shared iters | ||
|
||
running (00m36.0s), 50/50 VUs, 15817 complete and 0 interrupted iterations | ||
default [ 79% ] 50 VUs 00m36.0s/10m0s 15817/20000 shared iters | ||
|
||
running (00m37.0s), 50/50 VUs, 16240 complete and 0 interrupted iterations | ||
default [ 81% ] 50 VUs 00m37.0s/10m0s 16240/20000 shared iters | ||
|
||
running (00m38.0s), 50/50 VUs, 16691 complete and 0 interrupted iterations | ||
default [ 83% ] 50 VUs 00m38.0s/10m0s 16691/20000 shared iters | ||
|
||
running (00m39.0s), 50/50 VUs, 17128 complete and 0 interrupted iterations | ||
default [ 86% ] 50 VUs 00m39.0s/10m0s 17128/20000 shared iters | ||
|
||
running (00m40.0s), 50/50 VUs, 17575 complete and 0 interrupted iterations | ||
default [ 88% ] 50 VUs 00m40.0s/10m0s 17575/20000 shared iters | ||
|
||
running (00m41.0s), 50/50 VUs, 18016 complete and 0 interrupted iterations | ||
default [ 90% ] 50 VUs 00m41.0s/10m0s 18016/20000 shared iters | ||
|
||
running (00m42.0s), 50/50 VUs, 18418 complete and 0 interrupted iterations | ||
default [ 92% ] 50 VUs 00m42.0s/10m0s 18418/20000 shared iters | ||
|
||
running (00m43.0s), 50/50 VUs, 18866 complete and 0 interrupted iterations | ||
default [ 94% ] 50 VUs 00m43.0s/10m0s 18866/20000 shared iters | ||
|
||
running (00m44.0s), 50/50 VUs, 19299 complete and 0 interrupted iterations | ||
default [ 96% ] 50 VUs 00m44.0s/10m0s 19299/20000 shared iters | ||
|
||
running (00m45.0s), 50/50 VUs, 19753 complete and 0 interrupted iterations | ||
default [ 99% ] 50 VUs 00m45.0s/10m0s 19753/20000 shared iters | ||
|
||
running (00m45.5s), 00/50 VUs, 20000 complete and 0 interrupted iterations | ||
default ✓ [ 100% ] 50 VUs 00m45.5s/10m0s 20000/20000 shared iters | ||
|
||
data_received..................: 29 GB 626 MB/s | ||
data_sent......................: 52 MB 1.1 MB/s | ||
http_req_blocked...............: avg=8.03µs min=1.01µs med=2.63µs max=22.34ms p(90)=4.2µs p(95)=5.57µs | ||
http_req_connecting............: avg=1.47µs min=0s med=0s max=15.26ms p(90)=0s p(95)=0s | ||
http_req_duration..............: avg=15.63ms min=82.46µs med=3.77ms max=274.89ms p(90)=44.91ms p(95)=56.36ms | ||
{ expected_response:true }...: avg=15.63ms min=82.46µs med=3.77ms max=274.89ms p(90)=44.91ms p(95)=56.36ms | ||
http_req_failed................: 0.00% ✓ 0 ✗ 520000 | ||
http_req_receiving.............: avg=732.02µs min=16.47µs med=60.01µs max=173.42ms p(90)=367.24µs p(95)=1.88ms | ||
http_req_sending...............: avg=26.48µs min=5.17µs med=11.7µs max=47.15ms p(90)=18.8µs p(95)=27.41µs | ||
http_req_tls_handshaking.......: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s | ||
http_req_waiting...............: avg=14.87ms min=52.06µs med=3.36ms max=244.76ms p(90)=43.8ms p(95)=54.34ms | ||
http_reqs......................: 520000 11434.727603/s | ||
iteration_duration.............: avg=113.61ms min=7.23ms med=109.18ms max=447.12ms p(90)=174.02ms p(95)=194.75ms | ||
iterations.....................: 20000 439.797215/s | ||
vus............................: 50 min=50 max=50 | ||
vus_max........................: 50 min=50 max=50 | ||
|
||
|
||
running (00m45.5s), 00/50 VUs, 20000 complete and 0 interrupted iterations | ||
default ✓ [ 100% ] 50 VUs 00m45.5s/10m0s 20000/20000 shared iters |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
"Time (s)","CPU (%)","RAM (kB)","VUs","RPS" | ||
0,340.1,42329,0,0 | ||
5,343.1,208725,50,12342.47896647048 | ||
10,317.8,206253,50,12048.654877166258 | ||
15,313.6,214061,50,11727.334517504272 | ||
20,325.2,226561,50,11544.528091967182 | ||
26,308.6,248837,50,11519.53687798152 | ||
31,311.6,246937,50,11429.831364329506 | ||
36,313.4,245005,50,11434.823478053442 | ||
41,246.7,256789,50,11437.11731436755 |