Files
DotNetty/test/DotNetty.Microbench/Allocators/PooledByteBufferAllocatorBenchmark.cs

16 lines
515 B
C#

// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace DotNetty.Microbench.Allocators
{
using DotNetty.Buffers;
public class PooledByteBufferAllocatorBenchmark : AbstractByteBufferAllocatorBenchmark
{
public PooledByteBufferAllocatorBenchmark()
: base(new PooledByteBufferAllocator(true, 4, 4, 8192, 11, 0, 0, 0)) // Disable thread-local cache
{
}
}
}