Advertisement
Guest User

Vanilla C++ vs Ranges-based C++

a guest
Sep 19th, 2018
377
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.36 KB | None | 0 0
  1. root@b05b2910423b:/data/build/release-clang# benchmark/amcpp.gp2.is_prime_ranges
  2. 2018-09-19 14:58:33
  3. Running benchmark/amcpp.gp2.is_prime_ranges
  4. Run on (6 X 3196.69 MHz CPU s)
  5. CPU Caches:
  6.   L1 Data 32K (x6)
  7.   L1 Instruction 32K (x6)
  8.   L2 Unified 256K (x6)
  9.   L3 Unified 12288K (x1)
  10. Non-primes:     94237929
  11. Primes: 5762071
  12. ------------------------------------------------------
  13. Benchmark               Time           CPU Iterations
  14. ------------------------------------------------------
  15. bench_is_prime 53248760100 ns 53245753491 ns          1
  16. root@b05b2910423b:/data/build/release-clang# benchmark/amcpp.gp2.is_prime_vanilla
  17. 2018-09-19 14:59:51
  18. Running benchmark/amcpp.gp2.is_prime_vanilla
  19. Run on (6 X 3196.69 MHz CPU s)
  20. CPU Caches:
  21.   L1 Data 32K (x6)
  22.   L1 Instruction 32K (x6)
  23.   L2 Unified 256K (x6)
  24.   L3 Unified 12288K (x1)
  25. Non-primes:     94237929
  26. Primes: 5762071
  27. ------------------------------------------------------
  28. Benchmark               Time           CPU Iterations
  29. ------------------------------------------------------
  30. bench_is_prime 54812068500 ns 54809260282 ns          1
  31. root@b05b2910423b:/data/build/release-clang# benchmark/amcpp.gp2.is_prime_ranges
  32. 2018-09-19 15:01:34
  33. Running benchmark/amcpp.gp2.is_prime_ranges
  34. Run on (6 X 3196.69 MHz CPU s)
  35. CPU Caches:
  36.   L1 Data 32K (x6)
  37.   L1 Instruction 32K (x6)
  38.   L2 Unified 256K (x6)
  39.   L3 Unified 12288K (x1)
  40. Non-primes:     94237929
  41. Primes: 5762071
  42. ------------------------------------------------------
  43. Benchmark               Time           CPU Iterations
  44. ------------------------------------------------------
  45. bench_is_prime 52722214500 ns 52719619308 ns          1
  46. root@b05b2910423b:/data/build/release-clang# benchmark/amcpp.gp2.is_prime_vanilla
  47. 2018-09-19 15:02:51
  48. Running benchmark/amcpp.gp2.is_prime_vanilla
  49. Run on (6 X 3196.69 MHz CPU s)
  50. CPU Caches:
  51.   L1 Data 32K (x6)
  52.   L1 Instruction 32K (x6)
  53.   L2 Unified 256K (x6)
  54.   L3 Unified 12288K (x1)
  55. Non-primes:     94237929
  56. Primes: 5762071
  57. ------------------------------------------------------
  58. Benchmark               Time           CPU Iterations
  59. ------------------------------------------------------
  60. bench_is_prime 55247640000 ns 55245047451 ns          1
  61. root@b05b2910423b:/data/build/release-clang# benchmark/amcpp.gp2.is_prime_ranges
  62. 2018-09-19 15:04:14
  63. Running benchmark/amcpp.gp2.is_prime_ranges
  64. Run on (6 X 3196.69 MHz CPU s)
  65. CPU Caches:
  66.   L1 Data 32K (x6)
  67.   L1 Instruction 32K (x6)
  68.   L2 Unified 256K (x6)
  69.   L3 Unified 12288K (x1)
  70. Non-primes:     94237929
  71. Primes: 5762071
  72. ------------------------------------------------------
  73. Benchmark               Time           CPU Iterations
  74. ------------------------------------------------------
  75. bench_is_prime 53393129100 ns 53390303256 ns          1
  76. root@b05b2910423b:/data/build/release-clang# benchmark/amcpp.gp2.is_prime_vanilla
  77. 2018-09-19 15:05:49
  78. Running benchmark/amcpp.gp2.is_prime_vanilla
  79. Run on (6 X 3196.69 MHz CPU s)
  80. CPU Caches:
  81.   L1 Data 32K (x6)
  82.   L1 Instruction 32K (x6)
  83.   L2 Unified 256K (x6)
  84.   L3 Unified 12288K (x1)
  85. Non-primes:     94237929
  86. Primes: 5762071
  87. ------------------------------------------------------
  88. Benchmark               Time           CPU Iterations
  89. ------------------------------------------------------
  90. bench_is_prime 54992675000 ns 54990324307 ns          1
  91. root@b05b2910423b:/data/build/release-clang# benchmark/amcpp.gp2.is_prime_ranges
  92. 2018-09-19 15:12:37
  93. Running benchmark/amcpp.gp2.is_prime_ranges
  94. Run on (6 X 3196.69 MHz CPU s)
  95. CPU Caches:
  96.   L1 Data 32K (x6)
  97.   L1 Instruction 32K (x6)
  98.   L2 Unified 256K (x6)
  99.   L3 Unified 12288K (x1)
  100. Non-primes:     94237929
  101. Primes: 5762071
  102. ------------------------------------------------------
  103. Benchmark               Time           CPU Iterations
  104. ------------------------------------------------------
  105. bench_is_prime 53057628900 ns 53054983433 ns          1
  106. root@b05b2910423b:/data/build/release-clang# benchmark/amcpp.gp2.is_prime_vanilla
  107. 2018-09-19 15:14:46
  108. Running benchmark/amcpp.gp2.is_prime_vanilla
  109. Run on (6 X 3196.69 MHz CPU s)
  110. CPU Caches:
  111.   L1 Data 32K (x6)
  112.   L1 Instruction 32K (x6)
  113.   L2 Unified 256K (x6)
  114.   L3 Unified 12288K (x1)
  115. Non-primes:     94237929
  116. Primes: 5762071
  117. ------------------------------------------------------
  118. Benchmark               Time           CPU Iterations
  119. ------------------------------------------------------
  120. bench_is_prime 54768621600 ns 54765517153 ns          1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement