Package com.google.caliper.bridge
Bridges between the runner and the worker.
-
Interface Summary Interface Description LogMessageVisitor A visitor for the various subclasses ofLogMessage.Renderer<T> WorkerRequest Marker interface for classes the runner sends to the worker to tell it what to do. -
Class Summary Class Description AbstractLogMessageVisitor An abstractLogMessageVisitorwith no-op implementations for the visit methods - provided so that all visitors don't have to override all methods.CommandLineSerializer Serializes and deserializesWorkerRequests as base64 encoded strings so they can be passed on the command line to the worker.DryRunRequest WorkerRequestfor telling the worker to do a dry-run of multiple experiments.DryRunSuccessLogMessage A log message listing the IDs of successful dry-run experiments.ExperimentSpec Specification of an experiment to be run as a dry-run or a trial on a worker.FailureLogMessage A message containing information on a failure encountered by the worker JVM.GcLogMessage A message representing output produced by the JVM when-XX:+PrintGCis enabled.HotspotLogMessage A message representing output produced by the JVM when-XX:+PrintCompliationis enabled.KillVmRequest A request that's sent to a device to request that it kill a VM process.LogMessage A single line of output produced by aWorker.LogMessageParser_Factory LogMessageParserModule BindsParser<LogMessage>toLogMessageParser.OpenedSocket A simple tuple for the opened streams of a socket.OpenedSocket.Reader Reads objects from the socket.OpenedSocket.Writer Writes objects to the socket.RemoteClasspathMessage Message sent by a remote device to provide the local worker classpath on that device.ShouldContinueMessage A message sent from the runner to the worker to indicate whether or not measuring should continue.StartMeasurementLogMessage A message signaling that the timing interval has started in the worker.StartVmRequest A request to send to a process running on a device to tell it to run a given command to start a VM.StopMeasurementLogMessage A message signaling that the timing interval has ended in the worker.StopProxyRequest Request to send to a runner proxy on a remote device to tell it to stop.TargetInfoLogMessage A log message containing the response to aTargetInfoRequest.TargetInfoRequest WorkerRequestfor telling a worker to send the runner information on the target it's running on, including a model of the benchmark class it produced.TrialRequest WorkerRequestfor telling the worker to run a trial of the benchmark.VmOptionLogMessage A message representing output produced by the JVM when-XX:+PrintFlagsFinalis enabled.VmPropertiesLogMessage A message containing a selection ofsystem propertiesfrom the worker JVM.VmStoppedMessage A message sent from a device to the runner to tell it that a VM stopped. -
Enum Summary Enum Description GcLogMessage.Type The type of the garbage collection performed.