Package com.google.caliper.model
These classes model the data that is collected by the caliper runner: the record of which scenarios were tested on which VMs by
which instruments and, most importantly, all the measurements that were observed.
The primary goal of these classes is to be as easily convertible back and forth to JSON text as possible. The secondary goal is to be easily persistable in a relational database.
-
Class Summary Class Description BenchmarkSpec A specification by which a benchmark method invocation can be uniquely identified.BenchmarkSpec.Builder Host The performance-informing properties of the host on which a benchmark is run.Host.Builder InstrumentSpec A specification by which the application of an instrument can be uniquely identified.InstrumentSpec.Builder Measurement A single, weighted measurement.Measurement.Builder Run A single invocation of caliper.Run.Builder Scenario The combination of properties whose combination, when measured with a particular instrument, should produce a repeatable resultScenario.Builder Trial An invocation of a single scenario measured with a single instrument and the results thereof.Trial.Builder Value A magnitude with units.VmSpec A configuration of a virtual machine.VmSpec.Builder -
Enum Summary Enum Description InstrumentType Enumeration of the available types of instruments for running benchmarks. -
Annotation Types Summary Annotation Type Description AllocationMeasurement Annotation that identifies a given method as an "allocation measurement" method.ArbitraryMeasurement Annotation that identifies a given method as an "arbitrary measurement" method.ExcludeFromJson Indicates that a field or type should not be serialized to JSON.