Crate glassbench[−][src]
Macros
glassbench | Generates a benchmark with a consistent id (using the benchmark file name), calling the benchmarking function given in argument. |
Structs
Command | |
GlassBench | A whole benchmark. |
TaskBench | |
TaskMeasure |
Enums
GlassBenchError | glassbench error type |
Constants
ESTIMATE_ITERATIONS | |
MINIMAL_ITERATIONS | |
OPTIMAL_DURATION_NS | |
WARMUP_ITERATIONS |
Functions
pretend_used | tell the compiler not to optimize away the given argument (which is expected to be the function call you want to benchmark). |