- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ReportAllocs (0.07 sec)
-
lib/fips140/v1.0.0.zip
func BenchmarkMul(b *testing.B) { b.Run("P224", func(b *testing.B) { v := new(fiat.P224Element).One() b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.Mul(v, v) } }) b.Run("P384", func(b *testing.B) { v := new(fiat.P384Element).One() b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.Mul(v, v) } }) b.Run("P521", func(b *testing.B) { v := new(fiat.P521Element).One() b.ReportAllocs() b.ResetTimer() for i := 0; i < b.N; i++ { v.Mul(v, v) } }) } func BenchmarkSquare(b *testing.B) {...
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Jan 29 15:10:35 UTC 2025 - 635K bytes - Viewed (0)