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

Go to the source code of this file.

Macros

#define MAX_REPETITION_LOG   12
 

Functions

 BENCHMARK (parallel_for_field_element_addition) -> Unit(kMicrosecond) ->DenseRange(0, MAX_REPETITION_LOG)
 
 BENCHMARK (ff_addition) -> Unit(kMicrosecond) ->DenseRange(12, 30)
 
 BENCHMARK (ff_multiplication) -> Unit(kMicrosecond) ->DenseRange(12, 27)
 
 BENCHMARK (ff_sqr) -> Unit(kMicrosecond) ->DenseRange(12, 27)
 
 BENCHMARK (ff_invert) -> Unit(kMicrosecond) ->DenseRange(12, 19)
 
 BENCHMARK (ff_to_montgomery) -> Unit(kMicrosecond) ->DenseRange(12, 27)
 
 BENCHMARK (ff_from_montgomery) -> Unit(kMicrosecond) ->DenseRange(12, 27)
 
 BENCHMARK (ff_reduce) -> Unit(kMicrosecond) ->DenseRange(12, 29)
 
 BENCHMARK (projective_point_addition) -> Unit(kMicrosecond) ->DenseRange(12, 22)
 
 BENCHMARK (projective_point_accidental_doubling) -> Unit(kMicrosecond) ->DenseRange(12, 22)
 
 BENCHMARK (projective_point_doubling) -> Unit(kMicrosecond) ->DenseRange(12, 22)
 
 BENCHMARK (scalar_multiplication_bench) -> Unit(kMicrosecond) ->DenseRange(12, 18)
 
 BENCHMARK (cycle_waste) -> Unit(kMicrosecond) ->DenseRange(20, 30)
 
 BENCHMARK (sequential_copy) -> Unit(kMicrosecond) ->DenseRange(20, 25)
 
 BENCHMARK (uint_multiplication) -> Unit(kMicrosecond) ->DenseRange(12, 27)
 
 BENCHMARK (uint_extended_multiplication) -> Unit(kMicrosecond) ->DenseRange(12, 27)
 
 BENCHMARK (pippenger) -> Unit(kMicrosecond) ->DenseRange(16, 20) ->Setup(DoPippengerSetup) ->Iterations(5)
 
 BENCHMARK (bn254fr_random) -> Unit(kMicrosecond) ->DenseRange(10, 20)
 
 BENCHMARK_MAIN ()
 

Macro Definition Documentation

◆ MAX_REPETITION_LOG

#define MAX_REPETITION_LOG   12

Definition at line 37 of file basics.bench.cpp.

Function Documentation

◆ BENCHMARK() [1/18]

BENCHMARK ( bn254fr_random  ) -> Unit(kMicrosecond) ->DenseRange(10, 20)

◆ BENCHMARK() [2/18]

BENCHMARK ( cycle_waste  ) -> Unit(kMicrosecond) ->DenseRange(20, 30)

◆ BENCHMARK() [3/18]

BENCHMARK ( ff_addition  ) -> Unit(kMicrosecond) ->DenseRange(12, 30)

◆ BENCHMARK() [4/18]

BENCHMARK ( ff_from_montgomery  ) -> Unit(kMicrosecond) ->DenseRange(12, 27)

◆ BENCHMARK() [5/18]

BENCHMARK ( ff_invert  ) -> Unit(kMicrosecond) ->DenseRange(12, 19)

◆ BENCHMARK() [6/18]

BENCHMARK ( ff_multiplication  ) -> Unit(kMicrosecond) ->DenseRange(12, 27)

◆ BENCHMARK() [7/18]

BENCHMARK ( ff_reduce  ) -> Unit(kMicrosecond) ->DenseRange(12, 29)

◆ BENCHMARK() [8/18]

BENCHMARK ( ff_sqr  ) -> Unit(kMicrosecond) ->DenseRange(12, 27)

◆ BENCHMARK() [9/18]

BENCHMARK ( ff_to_montgomery  ) -> Unit(kMicrosecond) ->DenseRange(12, 27)

◆ BENCHMARK() [10/18]

BENCHMARK ( parallel_for_field_element_addition  ) -> Unit(kMicrosecond) ->DenseRange(0, MAX_REPETITION_LOG)

◆ BENCHMARK() [11/18]

BENCHMARK ( pippenger  ) -> Unit(kMicrosecond) ->DenseRange(16, 20) ->Setup(DoPippengerSetup) ->Iterations(5)

◆ BENCHMARK() [12/18]

BENCHMARK ( projective_point_accidental_doubling  ) -> Unit(kMicrosecond) ->DenseRange(12, 22)

◆ BENCHMARK() [13/18]

BENCHMARK ( projective_point_addition  ) -> Unit(kMicrosecond) ->DenseRange(12, 22)

◆ BENCHMARK() [14/18]

BENCHMARK ( projective_point_doubling  ) -> Unit(kMicrosecond) ->DenseRange(12, 22)

◆ BENCHMARK() [15/18]

BENCHMARK ( scalar_multiplication_bench  ) -> Unit(kMicrosecond) ->DenseRange(12, 18)

◆ BENCHMARK() [16/18]

BENCHMARK ( sequential_copy  ) -> Unit(kMicrosecond) ->DenseRange(20, 25)

◆ BENCHMARK() [17/18]

BENCHMARK ( uint_extended_multiplication  ) -> Unit(kMicrosecond) ->DenseRange(12, 27)

◆ BENCHMARK() [18/18]

BENCHMARK ( uint_multiplication  ) -> Unit(kMicrosecond) ->DenseRange(12, 27)

◆ BENCHMARK_MAIN()

BENCHMARK_MAIN ( )