fix loop counter of pairing benchmark

dev
MITSUNARI Shigeo 6 years ago
parent fcf4c71c0b
commit 11b2f3517f
  1. 6
      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<Fp6> Qcoeff;
precomputeG2(Qcoeff, Q);

Loading…
Cancel
Save