Hello, Thank you very much for your comments. Here I have some figures of how slow Octave 3.6.2 is in my system compared with the previous version 3.2.4. For the same script the performance is as follows:
Version 3.6.2: 1514 seconds, version 3.2.4: 132 seconds. That is, the newer version 3.6.2 finishes the calculation in about 25 minutes, whereas the previous version 3.2.4 finishes in only two minutes and few senconds! I compiled the 3.6.2 version myself so, in principle, I should be able to tell the output of the configuration file, but I need to know what to look for. The 3.2.4 version I used is the binary that comes with Kubuntu 12.04, so I don't have access to the compilation options. None of the programs take advantage of the dual core in my computer. Any ideas how to move forward with this? Thank you very much in advance! Kind regards, Fabián > 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