help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Matrix benchmark


From: nwerneck
Subject: Matrix benchmark
Date: Mon, 28 Jul 2003 15:12:15 -0300
User-agent: Mutt/1.3.28i

Here is my machine, a Pentium 4. I've just compiled 2.1.50 with BLAS,
atlas-SSE and libpack libraries available from Debian. These are the
best times I got:

GNU Octave, version 2.1.50 (i686-pc-linux-gnu).
octave-2.1.50:1> A = rand (1000,1000);
octave-2.1.50:2> tic; B = A*A; toc
ans = 1.9340
 
MATLAB Version 6.0.0.88 (R12) on GLNX86
>> A = rand(1000,1000);
>> tic; B=A*A; toc
elapsed_time =
    1.9422


I declare a tie. Now watch this:

octave-2.1.50:35> A = rand(2048,2048);
octave-2.1.50:36> tic; B=fft(A); toc
ans = 0.84838

>> A = rand(2048,2048);
>> tic; B=fft(A); toc  
elapsed_time =
    0.5116

    
What is wrong? I compiled it with shared swfft... Souldn't I??


bye!


-- 
Nicolau Werneck <address@hidden>         9F99 25AB E47E 8724 2F71
http://cefala.org/~nwerneck                   EA40 DC23 42CE 6B76 B07F
"The great tragedy of science -- the slaying of a beautiful hypothesis by an 
ugly fact. "
-- Thomas Huxley



-------------------------------------------------------------
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
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]