• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Time for cpp_int (no Expression templates) = 0.0632349
2Number of primes found = 9
3Time for cpp_int                        = 0.0597808
4Number of primes found = 9
5Time for cpp_int (128-bit cache)        = 0.061515
6Number of primes found = 9
7Time for cpp_int (256-bit cache)        = 0.061159
8Number of primes found = 9
9Time for cpp_int (512-bit cache)        = 0.0521137
10Number of primes found = 9
11Time for cpp_int (1024-bit cache)       = 0.051393
12Number of primes found = 9
13Time for uint1024_t                     = 0.047259
14Number of primes found = 9
15Time for checked_uint1024_t             = 0.0477963
16Number of primes found = 9
17Time for mpz_int (no Expression templates) = 0.00748244
18Number of primes found = 9
19Time for mpz_int                        = 0.00692059
20Number of primes found = 9
21Time for mpz_int (native Miller Rabin Test) = 0.000384121 seconds
22Time for tom_int (no Expression templates) = 0.0288748
23Number of primes found = 9
24Time for tom_int                        = 0.0288394
25Number of primes found = 9
26[table
27[[Integer Type][Relative Performance (Actual time in parenthesis)]]
28[[checked_uint1024_t][6.90638(0.0477963s)]]
29[[cpp_int][8.63811(0.0597808s)]]
30[[cpp_int (1024-bit cache)][7.4261(0.051393s)]]
31[[cpp_int (128-bit cache)][8.88868(0.061515s)]]
32[[cpp_int (256-bit cache)][8.83724(0.061159s)]]
33[[cpp_int (512-bit cache)][7.53024(0.0521137s)]]
34[[cpp_int (no Expression templates)][9.1372(0.0632349s)]]
35[[mpz_int][1(0.00692059s)]]
36[[mpz_int (no Expression templates)][1.08118(0.00748244s)]]
37[[tom_int][4.16719(0.0288394s)]]
38[[tom_int (no Expression templates)][4.1723(0.0288748s)]]
39[[uint1024_t][6.82875(0.047259s)]]
40]
41