Page MenuHomePhabricator

Call SHA256AutoDetect in benchmark setup
ClosedPublic

Authored by PiRK on Sep 1 2021, 09:26.

Details

Reviewers
majcosta
Group Reviewers
Restricted Project
Commits
rABC4d0d32567acc: Call SHA256AutoDetect in benchmark setup
Summary

It seems SHA256AutoDetect() was not being called in benchmarks, making the numbers only reflect the naive implementation. Fix this by calling it in bench_bitcoin's setup.

This is a backport of core#19214

Test Plan

ninja bench-bitcoin

I don't see a significant difference in the SHA256 becnhmarks before or
after this commit.

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable