Closed huyuguang closed 5 years ago
I just tested the bls12-381. To my surprise, the bls12-381 is much slower than bn254. I tested 1000 times ecc_mul, bn254 use 90ms, and bls12-381 use 900ms. Why? Maybe I made some mistakes(some optimize compile flags)?
sorry, I made a mistake. Should be 90 vs 380.
What CPU did you use? The rate of bls12-381 to bn254 is about less than 3. benchmark
I just tested the bls12-381. To my surprise, the bls12-381 is much slower than bn254. I tested 1000 times ecc_mul, bn254 use 90ms, and bls12-381 use 900ms. Why? Maybe I made some mistakes(some optimize compile flags)?