On Fri, Jul 20, 2012 at 11:49 PM, Luca Favatella <slacky...@gmail.com>wrote:
> How slow is it? If it is a half and you are using
> parallel/asynchronous programming it may be bad usage of the second
> core (compilation flag?).
>
> BTW In order to get a rough performance evaluation of your script, you
> can use tic/toc. If the time needed to execute your script is very
> little you can think about executing it in a loop (hackish...). E.g.
> if you need to test the speed of the "zeros(1)" invocation you can do
> the following:
>
> $ octave -q
> octave:1> tic; zeros(1); toc
> Elapsed time is 0.000132912 seconds.
> octave:2> tic; for i = 1:100 zeros(1); endfor; toc
> Elapsed time is 0.00252297 seconds.
>
Octave 3.6.2 also has profile capabilities. This may help you identify the
slower part in your script and compare with your previous version of octave.
Michael.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev