7#if defined(HAVE_CONSENSUS_LIB)
15#include <test/util/transaction_utils.h>
20 std::vector<std::vector<uint8_t>> stack;
22 for (
int i = 0; i < 100; ++i) {
25 for (
int i = 0; i < 1000; ++i) {
28 for (
int i = 0; i < 100; ++i) {
32 auto stack_copy = stack;
Main entry point to nanobench's benchmarking facility.
Bench & run(char const *benchmarkName, Op &&op)
Repeatedly calls op() based on the configuration, and performs measurements.
bool EvalScript(std::vector< valtype > &stack, const CScript &script, uint32_t flags, const BaseSignatureChecker &checker, ScriptExecutionMetrics &metrics, ScriptError *serror)
bool error(const char *fmt, const Args &...args)
Struct for holding cumulative results from executing a script or a sequence of scripts.
BENCHMARK(VerifyNestedIfScript)
static void VerifyNestedIfScript(benchmark::Bench &bench)