mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-07 06:07:32 +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:
@@ -51,6 +51,6 @@ static void Base58Decode(benchmark::Bench& bench)
|
||||
}
|
||||
|
||||
|
||||
BENCHMARK(Base58Encode, benchmark::PriorityLevel::HIGH);
|
||||
BENCHMARK(Base58CheckEncode, benchmark::PriorityLevel::HIGH);
|
||||
BENCHMARK(Base58Decode, benchmark::PriorityLevel::HIGH);
|
||||
BENCHMARK(Base58Encode);
|
||||
BENCHMARK(Base58CheckEncode);
|
||||
BENCHMARK(Base58Decode);
|
||||
|
||||
Reference in New Issue
Block a user