[R-br] benchmarking
Benilton Carvalho
beniltoncarvalho em gmail.com
Sexta Outubro 28 11:33:48 BRST 2011
Aos interessados em fazer algum benchmarking, aqui uma sugestao:
1) Instale o pacote SuppDists
2) Execute:
source('http://r.research.att.com/benchmarks/R-benchmark-25.R')
3) Reporte aqui:
a) Informacao de Hardware
b) Versao do R
c) Informacoes adicionais relevantes (BLAS / LAPACK / etc)
d) Resultados do benchmark...
Para o meu caso:
Mac Pro 4,1
Quad-Core Xeon 2.93GHz x 2 HT
16G RAM
R 2.13.2 (binario padrao) + ATLAS BLAS
Resultados:
R Benchmark 2.5
===============
Number of times each test is run__________________________: 3
I. Matrix calculation
---------------------
Creation, transp., deformation of a 2500x2500 matrix (sec): 0.617666666666613
2400x2400 normal distributed random matrix ^1000____ (sec): 0.267000000000053
Sorting of 7,000,000 random values__________________ (sec): 0.821333333333352
2800x2800 cross-product matrix (b = a' * a)_________ (sec): 0.37166666666667
Linear regr. over a 3000x3000 matrix (c = a \ b')___ (sec): 0.316000000000031
--------------------------------------------
Trimmed geom. mean (2 extremes eliminated): 0.417059757745061
II. Matrix functions
--------------------
FFT over 2,400,000 random values____________________ (sec): 0.489666666666684
Eigenvalues of a 640x640 random matrix______________ (sec): 0.65166666666668
Determinant of a 2500x2500 random matrix____________ (sec): 0.430999999999964
Cholesky decomposition of a 3000x3000 matrix________ (sec): 0.331666666666706
Inverse of a 1600x1600 random matrix________________ (sec): 0.471333333333329
--------------------------------------------
Trimmed geom. mean (2 extremes eliminated): 0.463342341088548
III. Programmation
------------------
3,500,000 Fibonacci numbers calculation (vector calc)(sec): 0.721333333333367
Creation of a 3000x3000 Hilbert matrix (matrix calc) (sec): 0.472333333333268
Grand common divisors of 400,000 pairs (recursion)__ (sec): 2.30133333333337
Creation of a 500x500 Toeplitz matrix (loops)_______ (sec): 0.733999999999999
Escoufier's method on a 45x45 matrix (mixed)________ (sec): 0.533999999999992
--------------------------------------------
Trimmed geom. mean (2 extremes eliminated): 0.656333300289129
Total time for all 15 tests_________________________ (sec): 9.53200000000008
Overall mean (sum of I, II and III trimmed means/3)_ (sec): 0.502429238538774
--- End of test ---
Mais detalhes sobre a lista de discussão R-br