line |
true |
false |
branch |
29
|
0 |
0 |
if (!cfg.benchmarkNoAnalysis()) { |
31
|
0 |
0 |
samples.reserve(last - first); |
32
|
0 |
0 |
std::transform(first, last, std::back_inserter(samples), [](Duration d) { return d.count(); }); |
|
0 |
0 |
std::transform(first, last, std::back_inserter(samples), [](Duration d) { return d.count(); }); |
34
|
0 |
0 |
auto analysis = Catch::Benchmark::Detail::analyse_samples(cfg.benchmarkConfidenceInterval(), cfg.benchmarkResamples(), samples.begin(), samples.end()); |
|
0 |
0 |
auto analysis = Catch::Benchmark::Detail::analyse_samples(cfg.benchmarkConfidenceInterval(), cfg.benchmarkResamples(), samples.begin(), samples.end()); |
|
0 |
0 |
auto analysis = Catch::Benchmark::Detail::analyse_samples(cfg.benchmarkConfidenceInterval(), cfg.benchmarkResamples(), samples.begin(), samples.end()); |
35
|
0 |
0 |
auto outliers = Catch::Benchmark::Detail::classify_outliers(samples.begin(), samples.end()); |
46
|
0 |
0 |
samples2.reserve(samples.size()); |
47
|
0 |
0 |
std::transform(samples.begin(), samples.end(), std::back_inserter(samples2), [](double d) { return Duration(d); }); |
|
0 |
0 |
std::transform(samples.begin(), samples.end(), std::back_inserter(samples2), [](double d) { return Duration(d); }); |
57
|
0 |
0 |
samples.reserve(last - first); |
61
|
0 |
0 |
for (auto it = first; it < last; ++it, ++i) { |
62
|
0 |
0 |
samples.push_back(Duration(*it)); |