Skip to content

Commit b382004

Browse files
committed
benchmark: Removed bench/perf.cpp
1 parent 0782508 commit b382004

File tree

4 files changed

+0
-96
lines changed

4 files changed

+0
-96
lines changed

src/Makefile.bench.include

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ bench_bench_bitcoin_SOURCES = \
2525
bench/verify_script.cpp \
2626
bench/base58.cpp \
2727
bench/lockedpool.cpp \
28-
bench/perf.cpp \
29-
bench/perf.h \
3028
bench/prevector.cpp
3129

3230
nodist_bench_bench_bitcoin_SOURCES = $(GENERATED_BENCH_FILES)

src/bench/bench.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44

55
#include <bench/bench.h>
6-
#include <bench/perf.h>
76

87
#include <assert.h>
98
#include <iostream>
@@ -96,7 +95,6 @@ benchmark::BenchRunner::BenchRunner(std::string name, benchmark::BenchFunction f
9695

9796
void benchmark::BenchRunner::RunAll(Printer& printer, uint64_t num_evals, double scaling, const std::string& filter, bool is_list_only)
9897
{
99-
perf_init();
10098
if (!std::ratio_less_equal<benchmark::clock::period, std::micro>::value) {
10199
std::cerr << "WARNING: Clock precision is worse than microsecond - benchmarks may be less accurate!\n";
102100
}
@@ -126,8 +124,6 @@ void benchmark::BenchRunner::RunAll(Printer& printer, uint64_t num_evals, double
126124
}
127125

128126
printer.footer();
129-
130-
perf_fini();
131127
}
132128

133129
bool benchmark::State::UpdateTimer(const benchmark::time_point current_time)

src/bench/perf.cpp

Lines changed: 0 additions & 53 deletions
This file was deleted.

src/bench/perf.h

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)