File: bench.gmp

package info (click to toggle)
golang-github-remyoudompheng-bigfft 0.0%2Bgit20190728.6a916e3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 172 kB
  • sloc: asm: 102; makefile: 2
file content (21 lines) | stat: -rw-r--r-- 957 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# These benchamrks were realised using gmpbench at
# http://gmplib.org/gmpbench.html
# and converted to the go test output format.
# Numbers are for a Core i5-4590 with GMP 6.1.2
BenchmarkMul_1kb        47143107	       175 ns/op
BenchmarkMul_10kb	 1321291	      7573 ns/op
BenchmarkMul_50kb	  125645	     79693 ns/op
BenchmarkMul_100kb	   47298	    211500 ns/op
BenchmarkMul_1Mb	    2950	   3344500 ns/op
BenchmarkMul_5Mb	     413	  23920000 ns/op
BenchmarkMul_10Mb	     164          60606000 ns/op
BenchmarkMul_20Mb	      78	 127700000 ns/op
BenchmarkMul_50Mb	       8	 352100000 ns/op
BenchmarkMul_100Mb	       4	 746270000 ns/op

BenchmarkMul_1x5Mb        884          11670000 ns/op
BenchmarkMul_1x10Mb       337          27174000 ns/op
BenchmarkMul_1x20Mb       195          52630000 ns/op
BenchmarkMul_1x50Mb        70         131000000 ns/op
BenchmarkMul_5x20Mb       134          74188000 ns/op
BenchmarkMul_5x50Mb        49         207770000 ns/op