Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ============================================================================
- 1. R 4.0.3 MacBook Pro 16" 2019 (i9-9980HK)
- ============================================================================
- I. Matrix calculation
- ---------------------
- Creation, transp., deformation of a 2500x2500 matrix (sec): 0.544333333333333
- 2400x2400 normal distributed random matrix ^1000____ (sec): 0.135
- Sorting of 7,000,000 random values__________________ (sec): 0.582666666666667
- 2800x2800 cross-product matrix (b = a' * a)_________ (sec): 11.9913333333333
- Linear regr. over a 3000x3000 matrix (c = a \ b')___ (sec): 5.73633333333333
- --------------------------------------------
- Trimmed geom. mean (2 extremes eliminated): 1.22078680865825
- II. Matrix functions
- --------------------
- FFT over 2,400,000 random values____________________ (sec): 0.272333333333336
- Eigenvalues of a 640x640 random matrix______________ (sec): 0.746
- Determinant of a 2500x2500 random matrix____________ (sec): 5.50566666666667
- Cholesky decomposition of a 3000x3000 matrix________ (sec): 4.22433333333333
- Inverse of a 1600x1600 random matrix________________ (sec): 4.54433333333333
- --------------------------------------------
- Trimmed geom. mean (2 extremes eliminated): 2.42841214313682
- III. Programmation
- ------------------
- 3,500,000 Fibonacci numbers calculation (vector calc)(sec): 0.177333333333337
- Creation of a 3000x3000 Hilbert matrix (matrix calc) (sec): 0.191333333333328
- Grand common divisors of 400,000 pairs (recursion)__ (sec): 0.193333333333337
- Creation of a 500x500 Toeplitz matrix (loops)_______ (sec): 0.0413333333333412
- Escoufier's method on a 45x45 matrix (mixed)________ (sec): 0.263999999999982
- --------------------------------------------
- Trimmed geom. mean (2 extremes eliminated): 0.187195721347471
- Total time for all 15 tests_________________________ (sec): 35.1496666666667
- Overall mean (sum of I, II and III trimmed means/3)_ (sec): 0.821774600493589
- --- End of test ---
- ============================================================================
- 2. R 4.0.3 MacBook Pro 13" 2020 (Apple M1) — Rosetta 2
- ============================================================================
- I. Matrix calculation
- ---------------------
- Creation, transp., deformation of a 2500x2500 matrix (sec): 0.430666666666667
- 2400x2400 normal distributed random matrix ^1000____ (sec): 0.145666666666667
- Sorting of 7,000,000 random values__________________ (sec): 0.628666666666666
- 2800x2800 cross-product matrix (b = a' * a)_________ (sec): 10.1856666666667
- Linear regr. over a 3000x3000 matrix (c = a \ b')___ (sec): 4.80566666666667
- --------------------------------------------
- Trimmed geom. mean (2 extremes eliminated): 1.09170452928523
- II. Matrix functions
- --------------------
- FFT over 2,400,000 random values____________________ (sec): 0.122666666666667
- Eigenvalues of a 640x640 random matrix______________ (sec): 0.451666666666666
- Determinant of a 2500x2500 random matrix____________ (sec): 1.96366666666667
- Cholesky decomposition of a 3000x3000 matrix________ (sec): 3.97366666666666
- Inverse of a 1600x1600 random matrix________________ (sec): 1.62533333333333
- --------------------------------------------
- Trimmed geom. mean (2 extremes eliminated): 1.12964699204199
- III. Programmation
- ------------------
- 3,500,000 Fibonacci numbers calculation (vector calc)(sec): 0.149000000000001
- Creation of a 3000x3000 Hilbert matrix (matrix calc) (sec): 0.113333333333334
- Grand common divisors of 400,000 pairs (recursion)__ (sec): 1.77033333333334
- Creation of a 500x500 Toeplitz matrix (loops)_______ (sec): 0.0363333333333363
- Escoufier's method on a 45x45 matrix (mixed)________ (sec): 16.218
- --------------------------------------------
- Trimmed geom. mean (2 extremes eliminated): 0.310360416354904
- Total time for all 15 tests_________________________ (sec): 42.6203333333333
- Overall mean (sum of I, II and III trimmed means/3)_ (sec): 0.72605813548641
- --- End of test ---
- ============================================================================
- 3. R 4.0.3 MacBook Pro 13" 2020 (Apple M1) — Aarch64 native, Accelerate
- ============================================================================
- I. Matrix calculation
- ---------------------
- Creation, transp., deformation of a 2500x2500 matrix (sec): 0.256
- 2400x2400 normal distributed random matrix ^1000____ (sec): 0.106333333333333
- Sorting of 7,000,000 random values__________________ (sec): 0.604666666666666
- 2800x2800 cross-product matrix (b = a' * a)_________ (sec): 13.4976666666667
- Linear regr. over a 3000x3000 matrix (c = a \ b')___ (sec): 6.353
- --------------------------------------------
- Trimmed geom. mean (2 extremes eliminated): 0.994439308468724
- II. Matrix functions
- --------------------
- FFT over 2,400,000 random values____________________ (sec): 0.11233333333333
- Eigenvalues of a 640x640 random matrix______________ (sec): 0.422666666666667
- Determinant of a 2500x2500 random matrix____________ (sec): 1.778
- Cholesky decomposition of a 3000x3000 matrix________ (sec): 5.22133333333333
- Inverse of a 1600x1600 random matrix________________ (sec): 1.44600000000001
- --------------------------------------------
- Trimmed geom. mean (2 extremes eliminated): 1.02809366434491
- III. Programmation
- ------------------
- 3,500,000 Fibonacci numbers calculation (vector calc)(sec): 0.0959999999999942
- Creation of a 3000x3000 Hilbert matrix (matrix calc) (sec): 0.111333333333325
- Grand common divisors of 400,000 pairs (recursion)__ (sec): 0.0776666666666586
- Creation of a 500x500 Toeplitz matrix (loops)_______ (sec): 0.0179999999999912
- Escoufier's method on a 45x45 matrix (mixed)________ (sec): 0.150999999999982
- --------------------------------------------
- Trimmed geom. mean (2 extremes eliminated): 0.0939817881321727
- Total time for all 15 tests_________________________ (sec): 30.252
- Overall mean (sum of I, II and III trimmed means/3)_ (sec): 0.458020471862686
- --- End of test ---
- ============================================================================
- 4. R 4.0.3 MacBook Pro 13" 2020 (Apple M1) — Aarch64 native, no Accelerate
- ============================================================================
- I. Matrix calculation
- ---------------------
- Creation, transp., deformation of a 2500x2500 matrix (sec): 0.255666666666667
- 2400x2400 normal distributed random matrix ^1000____ (sec): 0.11
- Sorting of 7,000,000 random values__________________ (sec): 0.604333333333333
- 2800x2800 cross-product matrix (b = a' * a)_________ (sec): 13.5283333333333
- Linear regr. over a 3000x3000 matrix (c = a \ b')___ (sec): 6.336
- --------------------------------------------
- Trimmed geom. mean (2 extremes eliminated): 0.992937567466605
- II. Matrix functions
- --------------------
- FFT over 2,400,000 random values____________________ (sec): 0.109999999999999
- Eigenvalues of a 640x640 random matrix______________ (sec): 0.431333333333332
- Determinant of a 2500x2500 random matrix____________ (sec): 1.75533333333334
- Cholesky decomposition of a 3000x3000 matrix________ (sec): 5.21433333333333
- Inverse of a 1600x1600 random matrix________________ (sec): 1.45533333333333
- --------------------------------------------
- Trimmed geom. mean (2 extremes eliminated): 1.03286850019268
- III. Programmation
- ------------------
- 3,500,000 Fibonacci numbers calculation (vector calc)(sec): 0.0976666666666688
- Creation of a 3000x3000 Hilbert matrix (matrix calc) (sec): 0.111333333333334
- Grand common divisors of 400,000 pairs (recursion)__ (sec): 0.0786666666666633
- Creation of a 500x500 Toeplitz matrix (loops)_______ (sec): 0.0173333333333308
- Escoufier's method on a 45x45 matrix (mixed)________ (sec): 0.140999999999991
- --------------------------------------------
- Trimmed geom. mean (2 extremes eliminated): 0.0949264942154725
- Total time for all 15 tests_________________________ (sec): 30.2466666666667
- Overall mean (sum of I, II and III trimmed means/3)_ (sec): 0.460028571495946
- --- End of test ---
Advertisement
Add Comment
Please, Sign In to add comment