|
From: | Javier Fernández Baldomero |
Subject: | Re: Octave interpreter slowness |
Date: | Thu, 16 Mar 2006 16:35:07 +0100 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) |
Keith Goodman wrote:
Yes, I think they did the trick with the JIT. They previously recommended to use vector language to speed things up. They no longer advice it, since for many circumstances the JIT compiler will do a better job than vectorization. I tried both with a MATLAB version of the EP NAS benchmark and loops are faster than vector language. In Octave, vector language is of course faster than loops.Search the Mathworks site for JIT.
Now they advice to look for bottlenecks with the profiler. Apparently, the windows version of MATLAB can graphically show you where the JIT has problems to pre-compile your loops.
-javier ------------------------------------------------------------- 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 -------------------------------------------------------------
[Prev in Thread] | Current Thread | [Next in Thread] |