Add zero contention benchmark
This commit is contained in:
@@ -679,6 +679,7 @@ func BenchmarkPoolAcquireAndRelease(b *testing.B) {
|
|||||||
clientCount int
|
clientCount int
|
||||||
cancellable bool
|
cancellable bool
|
||||||
}{
|
}{
|
||||||
|
{8, 1, false},
|
||||||
{8, 2, false},
|
{8, 2, false},
|
||||||
{8, 8, false},
|
{8, 8, false},
|
||||||
{8, 32, false},
|
{8, 32, false},
|
||||||
|
|||||||
Reference in New Issue
Block a user