v31.1-roots.1 · Commit 9: [PATCH 09/17] fix(roots): restore audited portability and runtime behavior
src/bench/blockencodings.cpp
Before: src/bench/blockencodings.cpp · After: src/bench/blockencodings.cpp
File metadata
index ce968dbc6516867f83ab3337f79d1f75c46578a9..fc67c0ce401d9e47c33621a99d5987569efe777d 100644
Download original patch · Release notes
Diff rows 1–9 of 9. Line numbers refer to the original before/after files.
+ Added− RemovedUnmarked lines are context.
Scroll the code area horizontally to read long lines. Before is on the left; after is on the right. Unified view fits narrow screens more easily.
src/bench/blockencodings.cpp
CHANGED
|
@@ -117,8 +117,7 @@ static void BlockEncodingNoExtra(benchmark::Bench& bench)
|
|
| 117 |
|
| 118 |
static void BlockEncodingStdExtra(benchmark::Bench& bench)
|
| 119 |
{
|
| 120 |
-
static_assert(DEFAULT_BLOCK_RECONSTRUCTION_EXTRA_TXN == 100);
|
| 121 |
-
BlockEncodingBench(bench, 50000, 100);
|
| 122 |
}
|
| 123 |
|
| 124 |
static void BlockEncodingLargeExtra(benchmark::Bench& bench)
|
|
|
|
| 117 |
|
| 118 |
static void BlockEncodingStdExtra(benchmark::Bench& bench)
|
| 119 |
{
|
| 120 |
+
BlockEncodingBench(bench, 50000, DEFAULT_BLOCK_RECONSTRUCTION_EXTRA_TXN);
|
|
|
|
| 121 |
}
|
| 122 |
|
| 123 |
static void BlockEncodingLargeExtra(benchmark::Bench& bench)
|