Tevin Zhang
|
b0f2b6a708
|
Add benchmarks
go version go1.11.4 linux/amd64
goos: linux
goarch: amd64
pkg: github.com/tevino/tcp-shaker
BenchmarkPipePoolDummyOK-32 300000 4002 ns/op 660 B/op 16 allocs/op
BenchmarkPipePoolSyncPoolOK-32 300000 3955 ns/op 507 B/op 14 allocs/op
BenchmarkPipePoolDummyErr-32 300000 4026 ns/op 613 B/op 16 allocs/op
BenchmarkPipePoolSyncPoolErr-32 300000 3973 ns/op 526 B/op 14 allocs/op
BenchmarkPipePoolDummyTimeout-32 300000 3954 ns/op 613 B/op 16 allocs/op
BenchmarkPipePoolSyncPoolTimeout-32 300000 3895 ns/op 507 B/op 14 allocs/op
BenchmarkResultPipesMUOK-32 300000 4692 ns/op 478 B/op 12 allocs/op
BenchmarkResultPipesSyncMapOK-32 300000 3902 ns/op 506 B/op 14 allocs/op
BenchmarkResultPipesMUErr-32 300000 4399 ns/op 478 B/op 12 allocs/op
BenchmarkResultPipesSyncMapErr-32 300000 3993 ns/op 508 B/op 14 allocs/op
BenchmarkResultPipesMUTimeout-32 300000 4473 ns/op 478 B/op 12 allocs/op
BenchmarkResultPipesSyncMapTimeout-32 300000 3947 ns/op 507 B/op 14 allocs/op
|
2019-02-12 19:03:06 +08:00 |