Skip to content

Commit 0a144fe

Browse files
MariusVanDerWijdenjorgemmsilva
authored andcommitted
core/vm: add KZG benchmark (ethereum#29583)
1 parent bb4b324 commit 0a144fe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/vm/contracts_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,8 @@ func TestPrecompiledBLS12381MapG2(t *testing.T) { testJson("blsMapG2", "f12
316316

317317
func TestPrecompiledPointEvaluation(t *testing.T) { testJson("pointEvaluation", "0a", t) }
318318

319+
func BenchmarkPrecompiledPointEvaluation(b *testing.B) { benchJson("pointEvaluation", "0a", b) }
320+
319321
func BenchmarkPrecompiledBLS12381G1Add(b *testing.B) { benchJson("blsG1Add", "f0a", b) }
320322
func BenchmarkPrecompiledBLS12381G1Mul(b *testing.B) { benchJson("blsG1Mul", "f0b", b) }
321323
func BenchmarkPrecompiledBLS12381G1MultiExp(b *testing.B) { benchJson("blsG1MultiExp", "f0c", b) }

0 commit comments

Comments
 (0)