mirror of
https://github.com/Azure/DotNetty.git
synced 2026-10-27 03:26:51 +08:00
16 lines
515 B
C#
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
|
|
{
|
|
}
|
|
}
|
|
}
|