netty5/microbench/src/test
Trustin Lee 172e7f06be More realistic ByteBuf allocation benchmark
Motivation:

Allocating a single buffer and releasing it repetitively for a benchmark will not involve the realistic execution path of the allocators.

Modifications:

Keep the last 8192 allocations and release them randomly.

Result:

We are now getting the result close to what we got with caliper.
2014-05-29 19:51:13 +09:00
..
java/io/netty/microbench More realistic ByteBuf allocation benchmark 2014-05-29 19:51:13 +09:00
resources microbench: move from Caliper to JMH 2014-01-14 14:56:20 +09:00