public class RowBundle<T>
extends java.lang.Object
Factory as input for benchmarks.
 When reading, rows are created during setup() to exclude initialization costs from
 the measurement. To prevent unintended cache hits in RowWithGetters, a new bundle of rows
 must be generated before every invocation.
 
Setup per Level.Invocation has considerable drawbacks. Though, given that processing
 bundles of rows (n=bundleSize) takes well above 1 ms, each individual invocation can be
 adequately timestamped without risking generating wrong results.
| Modifier and Type | Class and Description | 
|---|---|
| static class  | RowBundle.Action | 
| Constructor and Description | 
|---|
| RowBundle() | 
| RowBundle(java.lang.Class<T> clazz) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | processRows(org.openjdk.jmh.infra.Blackhole blackhole)Runs benchmark iteration on a bundle of rows. | 
| protected void | readField(Row row,
         org.openjdk.jmh.infra.Blackhole blackhole)Reads single field from row (of type  RowWithGetters). | 
| void | setup() | 
public RowBundle()
public RowBundle(java.lang.Class<T> clazz)
public void setup()
public void processRows(org.openjdk.jmh.infra.Blackhole blackhole)
protected void readField(Row row, org.openjdk.jmh.infra.Blackhole blackhole)
RowWithGetters).