mirror of
https://github.com/boostorg/multiprecision.git
synced 2026-07-21 13:23:49 +00:00
41 lines
1.6 KiB
Plaintext
41 lines
1.6 KiB
Plaintext
Time for cpp_int (no Expression templates) = 0.0717379
|
|
Number of primes found = 9
|
|
Time for cpp_int = 0.0497465
|
|
Number of primes found = 9
|
|
Time for cpp_int (128-bit cache) = 0.0490558
|
|
Number of primes found = 9
|
|
Time for cpp_int (256-bit cache) = 0.0510209
|
|
Number of primes found = 9
|
|
Time for cpp_int (512-bit cache) = 0.0458041
|
|
Number of primes found = 9
|
|
Time for cpp_int (1024-bit cache) = 0.0478607
|
|
Number of primes found = 9
|
|
Time for uint1024_t = 0.0413295
|
|
Number of primes found = 9
|
|
Time for checked_uint1024_t = 0.0422246
|
|
Number of primes found = 9
|
|
Time for mpz_int (no Expression templates) = 0.00443395
|
|
Number of primes found = 9
|
|
Time for mpz_int = 0.00466034
|
|
Number of primes found = 9
|
|
Time for mpz_int (native Miller Rabin Test) = 0.000165419 seconds
|
|
Time for tom_int (no Expression templates) = 0.274765
|
|
Number of primes found = 9
|
|
Time for tom_int = 0.0226395
|
|
Number of primes found = 9
|
|
[table
|
|
[[Integer Type][Relative Performance (Actual time in parenthesis)]]
|
|
[[checked_uint1024_t][9.52301(0.0422246s)]]
|
|
[[cpp_int][11.2194(0.0497465s)]]
|
|
[[cpp_int (1024-bit cache)][10.7941(0.0478607s)]]
|
|
[[cpp_int (128-bit cache)][11.0637(0.0490558s)]]
|
|
[[cpp_int (256-bit cache)][11.5069(0.0510209s)]]
|
|
[[cpp_int (512-bit cache)][10.3303(0.0458041s)]]
|
|
[[cpp_int (no Expression templates)][16.1792(0.0717379s)]]
|
|
[[mpz_int][1.05106(0.00466034s)]]
|
|
[[mpz_int (no Expression templates)][1(0.00443395s)]]
|
|
[[tom_int][5.10595(0.0226395s)]]
|
|
[[tom_int (no Expression templates)][61.9684(0.274765s)]]
|
|
[[uint1024_t][9.32113(0.0413295s)]]
|
|
]
|