public class GetterBasedSchemaProviderBenchmark
extends java.lang.Object
GetterBasedSchemaProvider
on reading / writing fields based on toRowFunction
/ fromRowFunction
.
Each benchmark method invocation, depending on RowBundle.action
, either reads a single
field of a bundle of n
rows using the corresponding getter via
RowWithGetters.getValue(int)
or writes that field using the corresponding setter to a new
object instance.
Rows are created upfront and provided as JMH State
to exclude initialization costs
from the measurement.
Constructor and Description |
---|
GetterBasedSchemaProviderBenchmark() |
Modifier and Type | Method and Description |
---|---|
void |
processArrayOfNestedStringField(RowBundles.ArrayOfNestedStringBundle state,
org.openjdk.jmh.infra.Blackhole bh) |
void |
processArrayOfStringField(RowBundles.ArrayOfStringBundle state,
org.openjdk.jmh.infra.Blackhole bh) |
void |
processByteBufferField(RowBundles.ByteBufferBundle state,
org.openjdk.jmh.infra.Blackhole bh) |
void |
processBytesField(RowBundles.BytesBundle state,
org.openjdk.jmh.infra.Blackhole bh) |
void |
processDateTimeField(RowBundles.DateTimeBundle state,
org.openjdk.jmh.infra.Blackhole bh) |
void |
processIntField(RowBundles.IntBundle state,
org.openjdk.jmh.infra.Blackhole bh) |
void |
processMapOfIntField(RowBundles.MapOfIntBundle state,
org.openjdk.jmh.infra.Blackhole bh) |
void |
processMapOfNestedIntField(RowBundles.MapOfNestedIntBundle state,
org.openjdk.jmh.infra.Blackhole bh) |
void |
processNestedBytesField(RowBundles.NestedBytesBundle state,
org.openjdk.jmh.infra.Blackhole bh) |
void |
processNestedIntField(RowBundles.NestedIntBundle state,
org.openjdk.jmh.infra.Blackhole bh) |
void |
processStringBuilderField(RowBundles.StringBuilderBundle state,
org.openjdk.jmh.infra.Blackhole bh) |
void |
processStringField(RowBundles.StringBundle state,
org.openjdk.jmh.infra.Blackhole bh) |
public void processIntField(RowBundles.IntBundle state, org.openjdk.jmh.infra.Blackhole bh)
public void processNestedIntField(RowBundles.NestedIntBundle state, org.openjdk.jmh.infra.Blackhole bh)
public void processStringField(RowBundles.StringBundle state, org.openjdk.jmh.infra.Blackhole bh)
public void processStringBuilderField(RowBundles.StringBuilderBundle state, org.openjdk.jmh.infra.Blackhole bh)
public void processDateTimeField(RowBundles.DateTimeBundle state, org.openjdk.jmh.infra.Blackhole bh)
public void processBytesField(RowBundles.BytesBundle state, org.openjdk.jmh.infra.Blackhole bh)
public void processNestedBytesField(RowBundles.NestedBytesBundle state, org.openjdk.jmh.infra.Blackhole bh)
public void processByteBufferField(RowBundles.ByteBufferBundle state, org.openjdk.jmh.infra.Blackhole bh)
public void processArrayOfStringField(RowBundles.ArrayOfStringBundle state, org.openjdk.jmh.infra.Blackhole bh)
public void processArrayOfNestedStringField(RowBundles.ArrayOfNestedStringBundle state, org.openjdk.jmh.infra.Blackhole bh)
public void processMapOfIntField(RowBundles.MapOfIntBundle state, org.openjdk.jmh.infra.Blackhole bh)
public void processMapOfNestedIntField(RowBundles.MapOfNestedIntBundle state, org.openjdk.jmh.infra.Blackhole bh)