Skip to content

Instantly share code, notes, and snippets.

@gballet
Last active August 22, 2022 17:25
Show Gist options
  • Save gballet/04641cdeedd90bd3854127b37b4ecef7 to your computer and use it in GitHub Desktop.
Save gballet/04641cdeedd90bd3854127b37b4ecef7 to your computer and use it in GitHub Desktop.
fp.Mul benchmarks
goos: freebsd
goarch: amd64
pkg: github.com/crate-crypto/go-ipa/bandersnatch/fp
cpu: Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
Benchmark1kMul-8 24026 46608 ns/op
Benchmark10kMul-8 2775 403095 ns/op
Benchmark100kMul-8 267 4171780 ns/op
Benchmark1MMul-8 31 37684170 ns/op
PASS
ok github.com/crate-crypto/go-ipa/bandersnatch/fp 18.014s
goos: linux
goarch: arm64
pkg: github.com/crate-crypto/go-ipa/bandersnatch/fp
Benchmark1kMul-12 29452 41518 ns/op
Benchmark10kMul-12 2898 415815 ns/op
Benchmark100kMul-12 289 4132905 ns/op
Benchmark1MMul-12 27 41469218 ns/op
PASS
ok github.com/crate-crypto/go-ipa/bandersnatch/fp 12.922s
goos: linux
goarch: amd64
pkg: github.com/crate-crypto/go-ipa/bandersnatch/fp
cpu: Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
Benchmark1kMul-4 51511 25175 ns/op
Benchmark10kMul-4 4580 228998 ns/op
Benchmark100kMul-4 441 2431668 ns/op
Benchmark1MMul-4 50 23911550 ns/op
PASS
ok github.com/crate-crypto/go-ipa/bandersnatch/fp 16.259s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment