Resolve some potential deadlocks
Tweak benchmarks
This commit is contained in:
+6
-18
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user