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