9#include <benchmark/benchmark.h>
11using namespace benchmark;
16void compute_pow_poly(benchmark::State& state)
19 std::vector<bb::fr> betas{ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
20 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28 };
22 for (
auto _ : state) {
23 int64_t num_betas = state.range(0);
24 std::vector<bb::fr> cur_betas(betas.begin(), betas.begin() + num_betas);
29BENCHMARK(compute_pow_poly)->Unit(benchmark::kMillisecond)->Arg(20);
Entry point for Barretenberg command-line interface.
BENCHMARK(bench_commit_structured_random_poly< curve::BN254 >) -> Unit(benchmark::kMillisecond)
Implementation of the methods for the -polynomials used in in Sumcheck.