aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <herumi@nifty.com>2018-11-13 15:10:25 +0800
committerMITSUNARI Shigeo <herumi@nifty.com>2018-11-13 15:10:25 +0800
commit11b2f3517fcc5a765c4915cb9b93a3ae77ff7fed (patch)
treec315daceab28ce504f025ad027a9e90f04b5023c
parentfcf4c71c0bfddff5f572e6fc087d72bfa3370a1f (diff)
downloadtangerine-mcl-11b2f3517fcc5a765c4915cb9b93a3ae77ff7fed.tar.gz
tangerine-mcl-11b2f3517fcc5a765c4915cb9b93a3ae77ff7fed.tar.zst
tangerine-mcl-11b2f3517fcc5a765c4915cb9b93a3ae77ff7fed.zip
fix loop counter of pairing benchmark
-rw-r--r--test/bench.hpp6
1 files 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<Fp6> Qcoeff;
precomputeG2(Qcoeff, Q);