[R] New version of benchmark comparing R with other software
phgrosjean at sciviews.org
Mon Apr 26 11:56:07 CEST 2004
Huummm, interesting! When a matrix calculation is faster with loops,... hope
this is not the end of these nice and easier to read vectorized operations.
P.S.: I'll will update my benchmark with Matlab R13 as soon as I got the
funding to update my license.
From: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of Fan
Sent: Thursday, 22 April, 2004 23:02
To: Philippe Grosjean
Cc: r-help at stat.math.ethz.ch; bates at stat.wisc.edu
Subject: Re: [R] New version of benchmark comparing R with other
Just a complement regarding Matlab 6.5 (R13).
R 1.9.0 is globally faster than Matlab 6.5 (tested on an AthlonXP):
Total time for all 15 tests (sec) 14.29 10.81
Overall mean (sec) 0.86 0.45
Matlab 6.5 has optimized the loops performance (sth called "Just In Time"),
with spectacular results, codes with loops could be faster then vectorized
codes. Here's the result for the "loops" test:
Creation of a 220x220 Toeplitz matrix (loops) 0.01 0.50
Bravo to the R dev team, nice job !
Philippe Grosjean wrote:
> Thanks to Douglas Bates, there is now a new benchmark suite (version 2.3)
> which is compatible with R 1.9.0 and the recent Matrix library (0.8-1 or
> above). You find it at http://www.sciviews.org/other/benchmark.htm. It
> compares R 1.9.0 under Windows with:
> S-PLUS 6.5, Matlab 6.0, O-Matrix 5.6, Octave 2.1.42, Scilab 2.7 and Ox
> In short, R in its version 1.9.0 and with the new Matrix library, is now
> of the fastest matrix calculation package among those tested on the
> and system used (P IV, 1 Gb RAM and Windows XP pro).
> Keeping its limitations in mind (only a few functions tested, and
> artificial situations that may or may not compare with real-world cases),
> this benchmark suite could be useful for deciding which software to chose
> for computing intensive matrix calculations, and also to compare the same
> software (R) on different platforms, with one or several processors,
> with various optimized BLAS libraries.
> Philippe Grosjean
> ) ) ) ) )
> ( ( ( ( ( Prof. Philippe Grosjean
> \ ___ )
> \/ECO\ ( Numerical Ecology of Aquatic Systems
> /\___/ ) Mons-Hainaut University, Pentagone
> / ___ /( 8, Av. du Champ de Mars, 7000 Mons, Belgium
> /NUM\/ )
> \___/\ ( phone: + 220.127.116.11.97, fax: + 18.104.22.168.12
> \ ) email: Philippe.Grosjean at umh.ac.be
> ) ) ) ) ) SciViews project coordinator (http://www.sciviews.org)
> ( ( ( ( (
> R-help at stat.math.ethz.ch mailing list
> PLEASE do read the posting guide!
R-help at stat.math.ethz.ch mailing list
PLEASE do read the posting guide!
More information about the R-help