Created
February 5, 2022 19:49
-
-
Save jwdevantier/469fcb6d0d150d632dd656d53a9b7355 to your computer and use it in GitHub Desktop.
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
pseud@pseudotop:~/GolandProjects/daemonload$ make build && time ./spammer -e localhost:11776 -p tcp spam -j 3 -s 180 --d 0 | |
go build ./cmd/echosrv | |
go build ./cmd/spammer | |
Job Params | |
=========== | |
Jobs: 3 | |
Duration: 180s | |
Delay: 0msecs | |
Protocol: tcp | |
Endpoint: localhost:11776 | |
waiting for workers to quit... | |
Results | |
========== | |
Jobs: 3 | |
Avg msgs/sec: 114584.777778 | |
Aggregate: | |
Msgs: 61875780 | |
Msgs/sec: 343754.333333 | |
real 3m0.004s | |
user 0m49.766s | |
sys 10m7.271s | |
pseud@pseudotop:~/GolandProjects/daemonload$ echo "gomaxprocs 16" && time ./spammer -e localhost:11777 -p tcp spam -j 3 -s 180 --d 0 | |
gomaxprocs 16 | |
Job Params | |
=========== | |
Jobs: 3 | |
Duration: 180s | |
Delay: 0msecs | |
Protocol: tcp | |
Endpoint: localhost:11777 | |
waiting for workers to quit... | |
Results | |
========== | |
Jobs: 3 | |
Avg msgs/sec: 85653.388889 | |
Aggregate: | |
Msgs: 46252830 | |
Msgs/sec: 256960.166667 | |
real 3m0.008s | |
user 1m32.604s | |
sys 11m46.536s | |
pseud@pseudotop:~/GolandProjects/daemonload$ echo "gomaxprocs 1" && time ./spammer -e localhost:11777 -p tcp spam -j 3 -s 180 --d 0 | |
gomaxprocs 1 | |
Job Params | |
=========== | |
Jobs: 3 | |
Duration: 180s | |
Delay: 0msecs | |
Protocol: tcp | |
Endpoint: localhost:11777 | |
waiting for workers to quit... | |
Results | |
========== | |
Jobs: 3 | |
Avg msgs/sec: 108495.124074 | |
Aggregate: | |
Msgs: 58587367 | |
Msgs/sec: 325485.372222 | |
real 3m0.008s | |
user 1m0.733s | |
sys 10m37.884s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment