Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include "barretenberg/crypto/poseidon2/poseidon2.hpp"
#include "barretenberg/ecc/curves/grumpkin/grumpkin.hpp"
#include <benchmark/benchmark.h>
Go to the source code of this file.
Functions | |
grumpkin::fq | poseidon_function (const size_t count) |
void | native_poseidon2_commitment_bench (State &state) noexcept |
BENCHMARK (native_poseidon2_commitment_bench) -> Arg(10) ->Arg(1000) ->Arg(10000) | |
grumpkin::fq | poseiden_hash_impl (const grumpkin::fq &x, const grumpkin::fq &y) |
void | poseiden_hash_bench (State &state) noexcept |
BENCHMARK (poseiden_hash_bench) -> Unit(benchmark::kMillisecond) | |
BENCHMARK_MAIN () | |
BENCHMARK | ( | native_poseidon2_commitment_bench | ) | -> Arg(10) ->Arg(1000) ->Arg(10000) |
BENCHMARK | ( | poseiden_hash_bench | ) | -> Unit(benchmark::kMillisecond) |
BENCHMARK_MAIN | ( | ) |
|
noexcept |
Definition at line 19 of file poseidon2.bench.cpp.
|
noexcept |
Definition at line 34 of file poseidon2.bench.cpp.
grumpkin::fq poseiden_hash_impl | ( | const grumpkin::fq & | x, |
const grumpkin::fq & | y | ||
) |
Definition at line 28 of file poseidon2.bench.cpp.
grumpkin::fq poseidon_function | ( | const size_t | count | ) |
Definition at line 8 of file poseidon2.bench.cpp.