Skip to content

Commit

Permalink
refactor(bw6): remove benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
yelhousni committed May 6, 2024
1 parent a4e6b23 commit 9c26d64
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions std/algebra/emulated/fields_bw6761/e6_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -351,19 +351,3 @@ func TestFp6MulBy023(t *testing.T) {
err := test.IsSolved(&e6MulBy023{}, &witness, ecc.BN254.ScalarField())
assert.NoError(err)
}

func BenchmarkMulMontgomery6(b *testing.B) {
var c e6Mul
p := profile.Start()
_, _ = frontend.Compile(ecc.BN254.ScalarField(), scs.NewBuilder, &c)
p.Stop()
fmt.Println("Fp6 Mul (Montgomery-6): ", p.NbConstraints())
}

func BenchmarkSqMontgomery6(b *testing.B) {
var c e6Square
p := profile.Start()
_, _ = frontend.Compile(ecc.BN254.ScalarField(), scs.NewBuilder, &c)
p.Stop()
fmt.Println("Fp6 Square (Montgomery-6): ", p.NbConstraints())
}

0 comments on commit 9c26d64

Please sign in to comment.