mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
add separate bench for msm benchmarks introduced by this PR
This commit is contained in:
parent
efa12e1475
commit
d9ee6d0dd5
1 changed files with 4 additions and 0 deletions
|
|
@ -328,6 +328,10 @@ func BenchmarkPrecompiledBLS12381Pairing(b *testing.B) { benchJson("blsPairin
|
|||
func BenchmarkPrecompiledBLS12381MapG1(b *testing.B) { benchJson("blsMapG1", "f11", b) }
|
||||
func BenchmarkPrecompiledBLS12381MapG2(b *testing.B) { benchJson("blsMapG2", "f12", b) }
|
||||
|
||||
func BenchmarkPrecompiledBLS12381MultiExpG1Jwasinger(b *testing.B) {
|
||||
benchJson("blsG1MultiExpJwasinger", "f0c", b)
|
||||
}
|
||||
|
||||
// Failure tests
|
||||
func TestPrecompiledBLS12381G1AddFail(t *testing.T) { testJsonFail("blsG1Add", "f0a", t) }
|
||||
func TestPrecompiledBLS12381G1MulFail(t *testing.T) { testJsonFail("blsG1Mul", "f0b", t) }
|
||||
|
|
|
|||
Loading…
Reference in a new issue