On 20 July 2012 22:02, <f...@star.sr.bham.ac.uk> wrote: > Dear all, > > I am writing to the mailing list because GNU Octave 3.6.2 is very slow in > my system. I am using Kubuntu 12.04 in a dual core Dell XPS M1330. When I > write slow, I compare with Octave 3.2.4 that I had with Kubuntu 11.10 in > the same computer, running the same script. > > Unfortunately, I do not have any quantitative measurements of the speed of > the 3.6.2 version compared to the speed of the previous version, but there > are a couple elements to remark:
Hello Fabián, (I am trying to help but I am not an expert of the Octave interpreter) 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. > 1. I downloaded the source code for Octave 3.6.2 and compiled it, whereas > I installed the previous 3.2.4 version from the binaries available from > the Ubuntu repositories. There may be an optimum option given at the time > of compilation that may make the execution faster. You may compile 3.2.4 from the source code as you did for 3.6.2, and check in the Makefile/stdout/log that the compilation flags are the same. > 2. The packages installed are: > > Package Name | Version | Installation directory > ---------------+---------+----------------------- > miscellaneous | 1.1.0 | > /usr/local/share/octave/packages/miscellaneous-1.1.0 > optim | 1.2.0 | /usr/local/share/octave/packages/optim-1.2.0 > struct | 1.0.10 | /usr/local/share/octave/packages/struct-1.0.10 > symbolic *| 1.1.0 | /usr/local/share/octave/packages/symbolic-1.1.0 > > > Any ideas where to begin looking? > > Thank you very much in advance. > > Kind regards, > > Fabián Cheers Luca ------------------------------------------------------------------------------ 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