From 11b2f3517fcc5a765c4915cb9b93a3ae77ff7fed Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Tue, 13 Nov 2018 16:10:25 +0900 Subject: [PATCH] fix loop counter of pairing benchmark --- test/bench.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/bench.hpp b/test/bench.hpp index bdf7a95..64c792f 100644 --- a/test/bench.hpp +++ b/test/bench.hpp @@ -80,9 +80,9 @@ void testBench(const G1& P, const G2& Q) CYBOZU_BENCH_C("GT::inv ", C2, GT::inv, e1, e1); #endif CYBOZU_BENCH_C("FpDbl::mulPre ", C3, FpDbl::mulPre, d0, x, y); - CYBOZU_BENCH_C("pairing ", C2, pairing, e1, P, Q); - CYBOZU_BENCH_C("millerLoop ", C2, millerLoop, e1, P, Q); - CYBOZU_BENCH_C("finalExp ", C2, finalExp, e1, e1); + CYBOZU_BENCH_C("pairing ", 3000, pairing, e1, P, Q); + CYBOZU_BENCH_C("millerLoop ", 3000, millerLoop, e1, P, Q); + CYBOZU_BENCH_C("finalExp ", 3000, finalExp, e1, e1); //exit(1); std::vector Qcoeff; precomputeG2(Qcoeff, Q);