Mike Miller a écrit :
On Tue, 27 Sep 2005, David Bateman wrote:
Yes these benchmarks have been examined. Perhaps a good starting
point in the discussion of these is
http://www.octave.org/octave-lists/archive/octave-maintainers.2004/msg00074.html
Octave did very well in that comparison with MATLAB. It was only on
Toeplitz that MATLAB really crushed Octave (about a factor of 6). On
Escoufier MATLAB was twice as fast as Octave, and on 'sort' Octave
took about 70% longer. Otherwise, they were fairly similar and
Octave was faster than MATLAB on a few (Programmation section,
especially Fibonacci).
For-loops and recursion are where matlab has problems. Do a search for
the word "compiler" on the lists for 2004 and 2005 and you'll find
some early work to address such issues as well...
I'm very impressed with Octave's speed on these tests. I can see
that you followed up with a huge amount of work on 'sort,' so 'sort'
must now be as much improved.
I made a choice with sort to use a heap sort while Matlab uses quick
sort.. This means that octave is much faster on partially sorted lists
than matlab, while matlab is faster on random vectors as in this
benchmark. I think partially sorted lists are occur more often than
random lists in real life. So here I think the benchmark is incorrect..
Does anyone know how the current Octave stacks up against MATLAB? It
seems like it must be doing very well.
In this benchmark I don't think much has changed as it is not a
complete test of all of octave's functionality, just that that
inteested the author of the benchmark. All benchmark's should be taken
with a grain of salt..
D.
Mike
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------