mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-20 13:37:28 +02:00
Merge 2cedb42a92 into merged_master (Bitcoin PR bitcoin/bitcoin#29252)
This commit is contained in:
commit
c38a7c5575
33 changed files with 79 additions and 72 deletions
|
|
@ -25,7 +25,7 @@ static void CCheckQueueSpeedPrevectorJob(benchmark::Bench& bench)
|
|||
// We shouldn't ever be running with the checkqueue on a single core machine.
|
||||
if (GetNumCores() <= 1) return;
|
||||
|
||||
ECC_Start();
|
||||
ECC_Context ecc_context{};
|
||||
|
||||
struct PrevectorJob {
|
||||
prevector<PREVECTOR_SIZE, uint8_t> p;
|
||||
|
|
@ -68,7 +68,5 @@ static void CCheckQueueSpeedPrevectorJob(benchmark::Bench& bench)
|
|||
for (auto& vChecks : vBatches)
|
||||
for (size_t x = 0; x < BATCH_SIZE; ++x)
|
||||
delete vChecks[x];
|
||||
|
||||
ECC_Stop();
|
||||
}
|
||||
BENCHMARK(CCheckQueueSpeedPrevectorJob, benchmark::PriorityLevel::HIGH);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue