Runs all benchmarks defined if and only if the ‐‐benchmark flag has been passed to the program. Usually put in main().

Synopsis

Declared in <folly/Benchmark.h>

bool
runBenchmarksOnFlag();

Return Value

True if benchmarks were run (the ‐‐benchmark flag was set).

Created with MrDocs