Chebyshev
Unit testing for scientific software
chebyshev::benchmark::benchmark_settings Class Reference

of the benchmark module More...

Public Attributes

bool quiet = false
 Whether to print benchmark results to standard output.
 
std::string moduleName
 Name of the module currently being benchmarked.
 
unsigned int defaultIterations = CHEBYSHEV_BENCHMARK_ITER
 Default number of iterations.
 
unsigned int defaultRuns = CHEBYSHEV_BENCHMARK_RUNS
 Default number of runs.
 
bool outputToFile = true
 Whether to output results to a file.
 
std::vector< std::string > outputFiles {}
 The files to write all benchmark results to.
 
std::map< std::string, bool > pickedBenchmarks {}
 Target benchmarks marked for execution (all benchmarks will be executed if empty)
 
std::vector< std::string > benchmarkOutputFiles {}
 The files to write benchmark results to (if empty, all results are output to a generic file).
 
std::vector< std::string > benchmarkColumns
 Default columns to print for benchmarks. More...
 

Detailed Description

of the benchmark module

Member Data Documentation

◆ benchmarkColumns

std::vector<std::string> chebyshev::benchmark::benchmark_settings::benchmarkColumns
Initial value:
= {
"name", "averageRuntime", "stdevRuntime", "runsPerSecond"
}

Default columns to print for benchmarks.


The documentation for this class was generated from the following file: