mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-05-17 17:33:59 +02:00
scripted-diff: Remove priority_level from BENCHMARK macro
-BEGIN VERIFY SCRIPT- sed --in-place --regexp-extended 's/BENCHMARK\(([^,]+), benchmark::PriorityLevel::(HIGH|LOW)\)/BENCHMARK(\1)/g' $( git grep -l PriorityLevel ) sed --in-place 's/#define BENCHMARK(n, priority_level)/#define BENCHMARK(n)/g' ./src/bench/bench.h -END VERIFY SCRIPT-
This commit is contained in:
@@ -86,20 +86,20 @@ void InsecureRandom_stdshuffle100(benchmark::Bench& bench) { BenchRandom_stdshuf
|
||||
|
||||
} // namespace
|
||||
|
||||
BENCHMARK(FastRandom_rand64, benchmark::PriorityLevel::HIGH);
|
||||
BENCHMARK(FastRandom_rand32, benchmark::PriorityLevel::HIGH);
|
||||
BENCHMARK(FastRandom_randbool, benchmark::PriorityLevel::HIGH);
|
||||
BENCHMARK(FastRandom_randbits, benchmark::PriorityLevel::HIGH);
|
||||
BENCHMARK(FastRandom_randrange100, benchmark::PriorityLevel::HIGH);
|
||||
BENCHMARK(FastRandom_randrange1000, benchmark::PriorityLevel::HIGH);
|
||||
BENCHMARK(FastRandom_randrange1000000, benchmark::PriorityLevel::HIGH);
|
||||
BENCHMARK(FastRandom_stdshuffle100, benchmark::PriorityLevel::HIGH);
|
||||
BENCHMARK(FastRandom_rand64);
|
||||
BENCHMARK(FastRandom_rand32);
|
||||
BENCHMARK(FastRandom_randbool);
|
||||
BENCHMARK(FastRandom_randbits);
|
||||
BENCHMARK(FastRandom_randrange100);
|
||||
BENCHMARK(FastRandom_randrange1000);
|
||||
BENCHMARK(FastRandom_randrange1000000);
|
||||
BENCHMARK(FastRandom_stdshuffle100);
|
||||
|
||||
BENCHMARK(InsecureRandom_rand64, benchmark::PriorityLevel::HIGH);
|
||||
BENCHMARK(InsecureRandom_rand32, benchmark::PriorityLevel::HIGH);
|
||||
BENCHMARK(InsecureRandom_randbool, benchmark::PriorityLevel::HIGH);
|
||||
BENCHMARK(InsecureRandom_randbits, benchmark::PriorityLevel::HIGH);
|
||||
BENCHMARK(InsecureRandom_randrange100, benchmark::PriorityLevel::HIGH);
|
||||
BENCHMARK(InsecureRandom_randrange1000, benchmark::PriorityLevel::HIGH);
|
||||
BENCHMARK(InsecureRandom_randrange1000000, benchmark::PriorityLevel::HIGH);
|
||||
BENCHMARK(InsecureRandom_stdshuffle100, benchmark::PriorityLevel::HIGH);
|
||||
BENCHMARK(InsecureRandom_rand64);
|
||||
BENCHMARK(InsecureRandom_rand32);
|
||||
BENCHMARK(InsecureRandom_randbool);
|
||||
BENCHMARK(InsecureRandom_randbits);
|
||||
BENCHMARK(InsecureRandom_randrange100);
|
||||
BENCHMARK(InsecureRandom_randrange1000);
|
||||
BENCHMARK(InsecureRandom_randrange1000000);
|
||||
BENCHMARK(InsecureRandom_stdshuffle100);
|
||||
|
||||
Reference in New Issue
Block a user