Skip to content

Instantly share code, notes, and snippets.

@mys721tx
Last active August 29, 2015 14:06
Show Gist options
  • Save mys721tx/394d32d7e2e0b1a6f6b1 to your computer and use it in GitHub Desktop.
Save mys721tx/394d32d7e2e0b1a6f6b1 to your computer and use it in GitHub Desktop.
R-benchmark
R Benchmark 2.5
===============
Number of times each test is run__________________________: 3
I. Matrix calculation
---------------------
Creation, transp., deformation of a 2500x2500 matrix (sec): 1.78966666666667
2400x2400 normal distributed random matrix ^1000____ (sec): 0.721
Sorting of 7,000,000 random values__________________ (sec): 1.104
2800x2800 cross-product matrix (b = a' * a)_________ (sec): 28.2113333333333
Linear regr. over a 3000x3000 matrix (c = a \ b')___ (sec): 11.4496666666667
--------------------------------------------
Trimmed geom. mean (2 extremes eliminated): 2.82820805797523
II. Matrix functions
--------------------
FFT over 2,400,000 random values____________________ (sec): 1.27966666666665
Eigenvalues of a 640x640 random matrix______________ (sec): 1.77333333333334
Determinant of a 2500x2500 random matrix____________ (sec): 8.46933333333334
Cholesky decomposition of a 3000x3000 matrix________ (sec): 6.67033333333333
Inverse of a 1600x1600 random matrix________________ (sec): 7.60199999999999
--------------------------------------------
Trimmed geom. mean (2 extremes eliminated): 4.48010913362619
III. Programmation
------------------
3,500,000 Fibonacci numbers calculation (vector calc)(sec): 0.563333333333333
Creation of a 3000x3000 Hilbert matrix (matrix calc) (sec): 0.40700000000002
Grand common divisors of 400,000 pairs (recursion)__ (sec): 1.72300000000001
Creation of a 500x500 Toeplitz matrix (loops)_______ (sec): 0.649000000000001
Escoufier's method on a 45x45 matrix (mixed)________ (sec): 0.687999999999988
--------------------------------------------
Trimmed geom. mean (2 extremes eliminated): 0.63124729238891
Total time for all 15 tests_________________________ (sec): 73.1006666666667
Overall mean (sum of I, II and III trimmed means/3)_ (sec): 1.99986106681839
--- End of test ---
R Benchmark 2.5
===============
Number of times each test is run__________________________: 3
I. Matrix calculation
---------------------
Creation, transp., deformation of a 2500x2500 matrix (sec): 1.56133333333333
2400x2400 normal distributed random matrix ^1000____ (sec): 0.745333333333334
Sorting of 7,000,000 random values__________________ (sec): 0.958000000000001
2800x2800 cross-product matrix (b = a' * a)_________ (sec): 1.432
Linear regr. over a 3000x3000 matrix (c = a \ b')___ (sec): 0.829333333333334
--------------------------------------------
Trimmed geom. mean (2 extremes eliminated): 1.04394884015697
II. Matrix functions
--------------------
FFT over 2,400,000 random values____________________ (sec): 0.993
Eigenvalues of a 640x640 random matrix______________ (sec): 0.634
Determinant of a 2500x2500 random matrix____________ (sec): 0.883333333333335
Cholesky decomposition of a 3000x3000 matrix________ (sec): 0.922999999999999
Inverse of a 1600x1600 random matrix________________ (sec): 0.866000000000004
--------------------------------------------
Trimmed geom. mean (2 extremes eliminated): 0.890460660119052
III. Programmation
------------------
3,500,000 Fibonacci numbers calculation (vector calc)(sec): 0.572333333333333
Creation of a 3000x3000 Hilbert matrix (matrix calc) (sec): 0.357999999999999
Grand common divisors of 400,000 pairs (recursion)__ (sec): 1.778
Creation of a 500x500 Toeplitz matrix (loops)_______ (sec): 0.535666666666666
Escoufier's method on a 45x45 matrix (mixed)________ (sec): 0.638999999999996
--------------------------------------------
Trimmed geom. mean (2 extremes eliminated): 0.580784263077984
Total time for all 15 tests_________________________ (sec): 13.7083333333333
Overall mean (sum of I, II and III trimmed means/3)_ (sec): 0.814272181406617
--- End of test ---
@mys721tx
Copy link
Author

OS: OS X 10.10
CPU: T9600 2.8GHz
RAM: 8GB

benchmark-accelerate-framework
BLAS: Accelerate framework
C complier: clang-600.0.51
Fortran compiler: Homebrew gcc 4.9.1_1

benchmark-intel-mkl
BLAS: Intel MKL
C complier: icc version 15.0.0
Fortran compiler: ifort version 15.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment