On Mon, May 24, 2010 at 3:00 PM, c. <[email protected]> wrote: > I tried the same test on my system and the number I see are consistent > with yours.
Do you mind if I ask how you did this? I've been trying but the timing differences I find seem to be due to execution of the RC files not due to directory structure. strace shows that all the m-files in the path are stat'd at least once regardless so personally I don't expect there to be a huge difference between having a few directories and large directories. Surely nothing on the order of seconds. > The only case where a startup time < 3s may matter though is when > Octave is being invoked many times within a script. > In that case I would say it's better to invoke Octave with the "-qf" > option and explicitely load only those packages > that are actually needed, e.g. you might want to try this: > > time octave -qf --eval "pkg load ocs" v.m Does this work for you? If I use -f then octave isn't able to load any packages (octave3.2 on ubuntu 10.4). --judd ------------------------------------------------------------------------------ _______________________________________________ Octave-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/octave-dev
