Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
poseidon2.bench.cpp File Reference

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 ()
 

Function Documentation

◆ BENCHMARK() [1/2]

BENCHMARK ( native_poseidon2_commitment_bench  ) -> Arg(10) ->Arg(1000) ->Arg(10000)

◆ BENCHMARK() [2/2]

BENCHMARK ( poseiden_hash_bench  ) -> Unit(benchmark::kMillisecond)

◆ BENCHMARK_MAIN()

BENCHMARK_MAIN ( )

◆ native_poseidon2_commitment_bench()

void native_poseidon2_commitment_bench ( State &  state)
noexcept

Definition at line 19 of file poseidon2.bench.cpp.

◆ poseiden_hash_bench()

void poseiden_hash_bench ( State &  state)
noexcept

Definition at line 34 of file poseidon2.bench.cpp.

◆ poseiden_hash_impl()

grumpkin::fq poseiden_hash_impl ( const grumpkin::fq x,
const grumpkin::fq y 
)

Definition at line 28 of file poseidon2.bench.cpp.

◆ poseidon_function()

grumpkin::fq poseidon_function ( const size_t  count)

Definition at line 8 of file poseidon2.bench.cpp.