From 5db8dd8b305b7f91cd4195947f00dad669855ac3 Mon Sep 17 00:00:00 2001 From: Mamy Ratsimbazafy Date: Sat, 1 Jan 2022 15:19:12 +0100 Subject: [PATCH] add double-prec mul/square bench for <256-bit prime fields. --- benchmarks/bench_fp_double_precision.nim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/benchmarks/bench_fp_double_precision.nim b/benchmarks/bench_fp_double_precision.nim index ba05464d..7a1d1005 100644 --- a/benchmarks/bench_fp_double_precision.nim +++ b/benchmarks/bench_fp_double_precision.nim @@ -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()