2
0

Resolve some potential deadlocks

Tweak benchmarks
This commit is contained in:
Jack Christensen
2018-12-26 02:24:07 -06:00
parent dd010296a6
commit f718a625cf
2 changed files with 59 additions and 73 deletions
+6 -18
View File
@@ -264,41 +264,29 @@ func BenchmarkPoolAcquireAndRelease(b *testing.B) {
poolSize int
clientCount int
}{
{8, 1},
{8, 4},
{8, 2},
{8, 8},
{8, 16},
{8, 32},
{8, 64},
{8, 128},
{8, 256},
{8, 512},
{8, 1024},
{8, 2048},
{8, 8192},
{64, 1},
{64, 4},
{64, 2},
{64, 8},
{64, 16},
{64, 32},
{64, 64},
{64, 128},
{64, 256},
{64, 512},
{64, 1024},
{64, 2048},
{64, 8192},
{512, 1},
{512, 4},
{512, 2},
{512, 8},
{512, 16},
{512, 32},
{512, 64},
{512, 128},
{512, 256},
{512, 512},
{512, 1024},
{512, 2048},
{512, 8192},
}
for _, bm := range benchmarks {