Page MenuHomePhabricator

[cmake] Make bench-secp256k1 actually run benchmarks, not simply build them.
ClosedPublic

Authored by deadalnix on Jan 4 2020, 14:15.

Details

Summary

Also ensures that all benchmarks are run in the terminal thread. Thsi ensures that no two benchmark run at the same time, making the result meaningless, and ensure that we get the result dumped on the terminal as the benchmark runs.

Test Plan
ninja bench-secp256k1
ninja bench-bitcoin

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.