Skip to content

Commit

Permalink
add double-prec mul/square bench for <256-bit prime fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
mratsim committed Jan 1, 2022
1 parent b383084 commit 5db8dd8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions benchmarks/bench_fp_double_precision.nim
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,11 @@ proc main() =
diff2xUnreduce(Fp[BLS12_381], iters = 10_000_000)
neg2x(Fp[BLS12_381], iters = 10_000_000)
separator()
prod2xBench(512, 256, 256, iters = 10_000_000)
prod2xBench(768, 384, 384, iters = 10_000_000)
square2xBench(512, 256, iters = 10_000_000)
square2xBench(768, 384, iters = 10_000_000)
reduce2x(Fp[BN254_Snarks], iters = 10_000_000)
reduce2x(Fp[BLS12_381], iters = 10_000_000)
separator()

Expand Down

0 comments on commit 5db8dd8

Please sign in to comment.