Skip to main content

Crate tango_bench

Crate tango_bench 

Source

Modules§

aux
child
Runner-side child process handle.
cli
Contains functionality of a cargo bench harness
commpage
Shared memory commpage for lock-step synchronization.
metrics
platform
protocol
Shared JSON-RPC protocol definitions: method names, parameter types, and result types used by both the worker (server) and child handle (client).
worker
Child worker mode: reads JSON-RPC commands from stdin, writes samples to commpage.

Macros§

tango_benchmarks
Registers benchmark in the system
tango_mainDeprecated
Main entrypoint for benchmarks. Deprecated. Not needed anymore. Still present for backward compatibility

Structs§

AuxMetricEntry
Dynamic dispatch entry for collecting a metric
Bencher
Benchmark
BenchmarkParams
Summary
Statistical summary for a given iterator of numbers.

Enums§

Error

Traits§

ErasedSampler
IntoBenchmarks
Converts the implementing type into a vector of Benchmark.
Metric
This trait allows to define strategy for measuring metric of interest about the code
SamplerFactory

Functions§

available_aux_metrics
Returns all auxiliary metrics available in this build.
benchmark_fn
iqr_variance_thresholds
Outlier detection algorithm based on interquartile range