func TestBspool(t *testing.T) { bp := bpool.NewSizedBufferPool(DefaultPoolSize, DefaultBufSize) test(t, bp) }
func BenchmarkHighBpool(b *testing.B) { bp := bpool.NewSizedBufferPool(DefaultPoolSize, DefaultBufSize) bench(b, bp, highConcurrency) }
// NewSizedBufferPool creates a new sized buffer pool. func NewSizedBufferPool(size int, alloc int) BufferPool { return bpool.NewSizedBufferPool(size, alloc) }