Guest User

R 4.0.3 benchmark Apple M1

a guest
Nov 28th, 2020
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.66 KB | None | 0 0
  1. ============================================================================
  2. 1. R 4.0.3 MacBook Pro 16" 2019 (i9-9980HK)
  3. ============================================================================
  4.  
  5. I. Matrix calculation
  6. ---------------------
  7. Creation, transp., deformation of a 2500x2500 matrix (sec): 0.544333333333333
  8. 2400x2400 normal distributed random matrix ^1000____ (sec): 0.135
  9. Sorting of 7,000,000 random values__________________ (sec): 0.582666666666667
  10. 2800x2800 cross-product matrix (b = a' * a)_________ (sec): 11.9913333333333
  11. Linear regr. over a 3000x3000 matrix (c = a \ b')___ (sec): 5.73633333333333
  12. --------------------------------------------
  13. Trimmed geom. mean (2 extremes eliminated): 1.22078680865825
  14.  
  15. II. Matrix functions
  16. --------------------
  17. FFT over 2,400,000 random values____________________ (sec): 0.272333333333336
  18. Eigenvalues of a 640x640 random matrix______________ (sec): 0.746
  19. Determinant of a 2500x2500 random matrix____________ (sec): 5.50566666666667
  20. Cholesky decomposition of a 3000x3000 matrix________ (sec): 4.22433333333333
  21. Inverse of a 1600x1600 random matrix________________ (sec): 4.54433333333333
  22. --------------------------------------------
  23. Trimmed geom. mean (2 extremes eliminated): 2.42841214313682
  24.  
  25. III. Programmation
  26. ------------------
  27. 3,500,000 Fibonacci numbers calculation (vector calc)(sec): 0.177333333333337
  28. Creation of a 3000x3000 Hilbert matrix (matrix calc) (sec): 0.191333333333328
  29. Grand common divisors of 400,000 pairs (recursion)__ (sec): 0.193333333333337
  30. Creation of a 500x500 Toeplitz matrix (loops)_______ (sec): 0.0413333333333412
  31. Escoufier's method on a 45x45 matrix (mixed)________ (sec): 0.263999999999982
  32. --------------------------------------------
  33. Trimmed geom. mean (2 extremes eliminated): 0.187195721347471
  34.  
  35.  
  36. Total time for all 15 tests_________________________ (sec): 35.1496666666667
  37. Overall mean (sum of I, II and III trimmed means/3)_ (sec): 0.821774600493589
  38. --- End of test ---
  39.  
  40.  
  41. ============================================================================
  42. 2. R 4.0.3 MacBook Pro 13" 2020 (Apple M1) — Rosetta 2
  43. ============================================================================
  44.  
  45. I. Matrix calculation
  46. ---------------------
  47. Creation, transp., deformation of a 2500x2500 matrix (sec): 0.430666666666667
  48. 2400x2400 normal distributed random matrix ^1000____ (sec): 0.145666666666667
  49. Sorting of 7,000,000 random values__________________ (sec): 0.628666666666666
  50. 2800x2800 cross-product matrix (b = a' * a)_________ (sec): 10.1856666666667
  51. Linear regr. over a 3000x3000 matrix (c = a \ b')___ (sec): 4.80566666666667
  52. --------------------------------------------
  53. Trimmed geom. mean (2 extremes eliminated): 1.09170452928523
  54.  
  55. II. Matrix functions
  56. --------------------
  57. FFT over 2,400,000 random values____________________ (sec): 0.122666666666667
  58. Eigenvalues of a 640x640 random matrix______________ (sec): 0.451666666666666
  59. Determinant of a 2500x2500 random matrix____________ (sec): 1.96366666666667
  60. Cholesky decomposition of a 3000x3000 matrix________ (sec): 3.97366666666666
  61. Inverse of a 1600x1600 random matrix________________ (sec): 1.62533333333333
  62. --------------------------------------------
  63. Trimmed geom. mean (2 extremes eliminated): 1.12964699204199
  64.  
  65. III. Programmation
  66. ------------------
  67. 3,500,000 Fibonacci numbers calculation (vector calc)(sec): 0.149000000000001
  68. Creation of a 3000x3000 Hilbert matrix (matrix calc) (sec): 0.113333333333334
  69. Grand common divisors of 400,000 pairs (recursion)__ (sec): 1.77033333333334
  70. Creation of a 500x500 Toeplitz matrix (loops)_______ (sec): 0.0363333333333363
  71. Escoufier's method on a 45x45 matrix (mixed)________ (sec): 16.218
  72. --------------------------------------------
  73. Trimmed geom. mean (2 extremes eliminated): 0.310360416354904
  74.  
  75.  
  76. Total time for all 15 tests_________________________ (sec): 42.6203333333333
  77. Overall mean (sum of I, II and III trimmed means/3)_ (sec): 0.72605813548641
  78. --- End of test ---
  79.  
  80.  
  81. ============================================================================
  82. 3. R 4.0.3 MacBook Pro 13" 2020 (Apple M1) — Aarch64 native, Accelerate
  83. ============================================================================
  84.  
  85. I. Matrix calculation
  86. ---------------------
  87. Creation, transp., deformation of a 2500x2500 matrix (sec): 0.256
  88. 2400x2400 normal distributed random matrix ^1000____ (sec): 0.106333333333333
  89. Sorting of 7,000,000 random values__________________ (sec): 0.604666666666666
  90. 2800x2800 cross-product matrix (b = a' * a)_________ (sec): 13.4976666666667
  91. Linear regr. over a 3000x3000 matrix (c = a \ b')___ (sec): 6.353
  92. --------------------------------------------
  93. Trimmed geom. mean (2 extremes eliminated): 0.994439308468724
  94.  
  95. II. Matrix functions
  96. --------------------
  97. FFT over 2,400,000 random values____________________ (sec): 0.11233333333333
  98. Eigenvalues of a 640x640 random matrix______________ (sec): 0.422666666666667
  99. Determinant of a 2500x2500 random matrix____________ (sec): 1.778
  100. Cholesky decomposition of a 3000x3000 matrix________ (sec): 5.22133333333333
  101. Inverse of a 1600x1600 random matrix________________ (sec): 1.44600000000001
  102. --------------------------------------------
  103. Trimmed geom. mean (2 extremes eliminated): 1.02809366434491
  104.  
  105. III. Programmation
  106. ------------------
  107. 3,500,000 Fibonacci numbers calculation (vector calc)(sec): 0.0959999999999942
  108. Creation of a 3000x3000 Hilbert matrix (matrix calc) (sec): 0.111333333333325
  109. Grand common divisors of 400,000 pairs (recursion)__ (sec): 0.0776666666666586
  110. Creation of a 500x500 Toeplitz matrix (loops)_______ (sec): 0.0179999999999912
  111. Escoufier's method on a 45x45 matrix (mixed)________ (sec): 0.150999999999982
  112. --------------------------------------------
  113. Trimmed geom. mean (2 extremes eliminated): 0.0939817881321727
  114.  
  115.  
  116. Total time for all 15 tests_________________________ (sec): 30.252
  117. Overall mean (sum of I, II and III trimmed means/3)_ (sec): 0.458020471862686
  118. --- End of test ---
  119.  
  120.  
  121. ============================================================================
  122. 4. R 4.0.3 MacBook Pro 13" 2020 (Apple M1) — Aarch64 native, no Accelerate
  123. ============================================================================
  124.  
  125. I. Matrix calculation
  126. ---------------------
  127. Creation, transp., deformation of a 2500x2500 matrix (sec): 0.255666666666667
  128. 2400x2400 normal distributed random matrix ^1000____ (sec): 0.11
  129. Sorting of 7,000,000 random values__________________ (sec): 0.604333333333333
  130. 2800x2800 cross-product matrix (b = a' * a)_________ (sec): 13.5283333333333
  131. Linear regr. over a 3000x3000 matrix (c = a \ b')___ (sec): 6.336
  132. --------------------------------------------
  133. Trimmed geom. mean (2 extremes eliminated): 0.992937567466605
  134.  
  135. II. Matrix functions
  136. --------------------
  137. FFT over 2,400,000 random values____________________ (sec): 0.109999999999999
  138. Eigenvalues of a 640x640 random matrix______________ (sec): 0.431333333333332
  139. Determinant of a 2500x2500 random matrix____________ (sec): 1.75533333333334
  140. Cholesky decomposition of a 3000x3000 matrix________ (sec): 5.21433333333333
  141. Inverse of a 1600x1600 random matrix________________ (sec): 1.45533333333333
  142. --------------------------------------------
  143. Trimmed geom. mean (2 extremes eliminated): 1.03286850019268
  144.  
  145. III. Programmation
  146. ------------------
  147. 3,500,000 Fibonacci numbers calculation (vector calc)(sec): 0.0976666666666688
  148. Creation of a 3000x3000 Hilbert matrix (matrix calc) (sec): 0.111333333333334
  149. Grand common divisors of 400,000 pairs (recursion)__ (sec): 0.0786666666666633
  150. Creation of a 500x500 Toeplitz matrix (loops)_______ (sec): 0.0173333333333308
  151. Escoufier's method on a 45x45 matrix (mixed)________ (sec): 0.140999999999991
  152. --------------------------------------------
  153. Trimmed geom. mean (2 extremes eliminated): 0.0949264942154725
  154.  
  155.  
  156. Total time for all 15 tests_________________________ (sec): 30.2466666666667
  157. Overall mean (sum of I, II and III trimmed means/3)_ (sec): 0.460028571495946
  158. --- End of test ---
  159.  
  160.  
Advertisement
Add Comment
Please, Sign In to add comment