Example usage for io.netty.channel MultithreadEventLoopGroup subclass-usage

List of usage examples for io.netty.channel MultithreadEventLoopGroup subclass-usage

Introduction

In this page you can find the example usage for io.netty.channel MultithreadEventLoopGroup subclass-usage.

Usage

From source file com.linecorp.armeria.shared.EventLoopJmhExecutor.java

/**
 * A {@link MultithreadEventLoopGroup} that can be used as the JMH executor for benchmarks. This allows
 * benchmark code to be run from within a event loop thread, which can be useful when the code is specifically
 * optimized for running inside an event loop. Without this, it would be necessary to switch between threads in
 * the benchmark which adds significant noise to the benchmark.
 *