public class JMHSample_28_BlackholeHelpers extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
JMHSample_28_BlackholeHelpers.Worker
Sometimes you need the black hole not in @Benchmark method, but in
helper methods, because you want to pass it through to the concrete
implementation which is instantiated in helper methods.
|
| Constructor and Description |
|---|
JMHSample_28_BlackholeHelpers() |
| Modifier and Type | Method and Description |
|---|---|
void |
baseline() |
static void |
main(String[] args) |
void |
measureRight() |
void |
measureWrong() |
void |
setup(Blackhole bh) |
public void setup(Blackhole bh)
public void baseline()
public void measureWrong()
public void measureRight()
public static void main(String[] args) throws RunnerException
RunnerExceptionCopyright © 2016. All rights reserved.