Michael Goffioul wrote: > On Wed, Jun 27, 2012 at 9:44 AM, Vasileios Anagnostopoulos > <fithis2...@gmail.com <mailto:fithis2...@gmail.com>> wrote: > > System setup : Windows XP SP3 x86 > > I do not know if this is the correct mailing list hope it is. > > I have downloaded both the mingw 3.6.2 VS2010 installer and mingw build. > > The mingw build at startup takes 45 seconds to load while the VS takes > 5secs. > > My machine is a developer machine and I take great crae to isolate my > different installs (paths, environment variables and so on) > > My path seems also to be clean. Is it something that others have > observed? Should I check something? > > > If the MinGW build does "pkg load auto" at startup (and depending on the > number of packages to load), that could explain the slowdown. The VS2010 > build does not load any forge package at startup by default.
A while ago an almost identical question came up about MinGW-Octave starting up slowly. Can't find it right now, perhaps it was in the bug tracker? Anyway, at the time I've reported that (IIRC) on my Core Duo 2.5 Ghz 32b system, Octave 3.6.<something> takes about 22 secs of CPU time to start without, and 24 secs with all 70-80 packages autoloaded. So IMO "pkg load" really isn't the issue, it merely takes 2 CPU secs. Currently, 3.6.2_gcc4.6.2 takes about 21 seconds (CPU time, but actually also "real time") to load for the second time (i.e., when it is in the OS cache) with about 75 packages autoloaded. I find (subjectively) that it loads noticeably faster then previous 3.4+ MinGW versions. The 3.6.2 MSVC2010 version takes about 8 secs (incl. ~70 packages). I suspect the delay is due to initialization of the MinGW libraries, and of the Octave dependencies in the MinGW subsystem. MSVC is a much more "native" build so I'm not surprised that it loads a lot faster. Comparison of the MinGW and MSVC versions, once loaded, with some real-world computation problems didn't show significant performance differences (but I didn't test very rigorously). Philip ------------------------------------------------------------------------------ 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