Search found 20 matches

by Si
Fri Aug 10, 2012 2:12 pm
Forum: Compiler / Linking / IDE Related
Topic: Slow start times for MinGW binaries compared to VC. Advice?
Replies: 33
Views: 17854

Re: Slow start times for MinGW binaries compared to VC. Advi

I now have a solution, for GCC >= 4.6.1. Firstly, re-enable explicit DLL import / export, and supply a compiler flag, to bring back pre-4.5 style DLL export handling. Flag to handle exports in pre-4.5 way: CPPFLAGS="-fno-keep-inline-dllexport" Ensure exports are output, by removing GCC ver...
by Si
Mon Aug 06, 2012 10:35 am
Forum: Compiler / Linking / IDE Related
Topic: Slow start times for MinGW binaries compared to VC. Advice?
Replies: 33
Views: 17854

Re: Slow start times for MinGW binaries compared to VC. Advi

I just noticed today that my 2.9.4 debug builds are significantly faster than my release ones. Timings until returning false within minimal's OnInit method on the Atom based machine: Si /c/wxWidgets-2.9.4/samples/minimal$ time gcc_mswudll/minimal.exe real 0m2.137s user 0m0.015s sys 0m0.062s Si /c/wx...
by Si
Sun Aug 05, 2012 6:18 am
Forum: Compiler / Linking / IDE Related
Topic: Slow start times for MinGW binaries compared to VC. Advice?
Replies: 33
Views: 17854

Re: Slow start times for MinGW binaries compared to VC. Advi

Am awaiting more feedback on the mailing list, after posting up some profiling reports for various builds. In the meantime I have found that the reason we couldn't use each other's binaries was indeed down to the compiler libs, being picked up from our machines at runtime (libgcc_s_dw2-1 & libst...
by Si
Thu Aug 02, 2012 5:19 pm
Forum: Compiler / Linking / IDE Related
Topic: Slow start times for MinGW binaries compared to VC. Advice?
Replies: 33
Views: 17854

Re: Slow start times for MinGW binaries compared to VC. Advi

A nightly 2.9.5 build with 2.8.12's config.gcc works, but gives no improvement to timing. The diff of configure.in between the two versions is 5837 lines!
by Si
Thu Aug 02, 2012 3:58 pm
Forum: Compiler / Linking / IDE Related
Topic: Slow start times for MinGW binaries compared to VC. Advice?
Replies: 33
Views: 17854

Re: Slow start times for MinGW binaries compared to VC. Advi

I've added the 2.8.12 timings for Atom to the PML download zip, and edited the post above to include a summary.
by Si
Thu Aug 02, 2012 2:34 pm
Forum: Compiler / Linking / IDE Related
Topic: Slow start times for MinGW binaries compared to VC. Advice?
Replies: 33
Views: 17854

Re: Slow start times for MinGW binaries compared to VC. Advi

I've posted a query to the wx-users mailing list. It's not showing up yet, but I'll link to it here once I see it appear.

Edit: Here she is https://groups.google.com/forum/?hl=en& ... EPKZzRAvlI
by Si
Thu Aug 02, 2012 2:05 pm
Forum: Compiler / Linking / IDE Related
Topic: Slow start times for MinGW binaries compared to VC. Advice?
Replies: 33
Views: 17854

Re: Slow start times for MinGW binaries compared to VC. Advi

I think the wxWidgets approach is excellent for multi-platform low resource use apps. Atom SysInternals results are here: http://www.mintsource.org/PMLs-Atom.zip (409K) The monitoring appears to have had a reasonable impact on the timings, but VC remains good, and MinGW/2.9.4 turns in an unusually p...
by Si
Thu Aug 02, 2012 1:08 pm
Forum: Compiler / Linking / IDE Related
Topic: Slow start times for MinGW binaries compared to VC. Advice?
Replies: 33
Views: 17854

Re: Slow start times for MinGW binaries compared to VC. Advi

True. I meant more the direct use of the Win32 API, as in Petzold style.
by Si
Thu Aug 02, 2012 1:03 pm
Forum: Compiler / Linking / IDE Related
Topic: Slow start times for MinGW binaries compared to VC. Advice?
Replies: 33
Views: 17854

Re: Slow start times for MinGW binaries compared to VC. Advi

I think there's certainly some caching involved in those VC timings. I will be in the situation to catch cold start stats on the slower machine, however the VC and 2.8.12 binaries are both quick to start, even on the Atom processor. 2.8.12 runs like an unmanaged Win32 C++ app on it, which is pretty ...
by Si
Thu Aug 02, 2012 12:27 pm
Forum: Compiler / Linking / IDE Related
Topic: Slow start times for MinGW binaries compared to VC. Advice?
Replies: 33
Views: 17854

Re: Slow start times for MinGW binaries compared to VC. Advi

Will do; I'll ask on the mailing list. In the mean time, results are in for the SysInternals testing. This is for the fastest machine I have, so I plan to repeat this on the slow one, to amplify the problem. http://www.mintsource.org/PMLs.zip (392K) contains gcc & vc results. I've yet to underst...
by Si
Thu Aug 02, 2012 11:52 am
Forum: Compiler / Linking / IDE Related
Topic: Slow start times for MinGW binaries compared to VC. Advice?
Replies: 33
Views: 17854

Re: Slow start times for MinGW binaries compared to VC. Advi

After copying over the required compiler libs to the vista machine I tried earlier, the minimal.exe app shows the same 2.8.12 versus 2.9.5 differences I see on the dev machines. I tried running your minimal, PB, but it crashes for me with "The application was unable to start correctly (0xc00000...
by Si
Thu Aug 02, 2012 10:11 am
Forum: Compiler / Linking / IDE Related
Topic: Slow start times for MinGW binaries compared to VC. Advice?
Replies: 33
Views: 17854

Re: Slow start times for MinGW binaries compared to VC. Advi

Hi doublemax, I've uploaded the binaries from last night as a zip, which can be found here: http://www.mintsource.org/gcc_mswudll.zip It's a 7.4M zip with a gcc_mswudll folder at top level, containing the following content: -rwxr-xr-x 1 Si Administ 228165 Aug 1 16:48 minimal.exe -rw-r--r-- 1 Si Admi...
by Si
Thu Aug 02, 2012 8:50 am
Forum: Compiler / Linking / IDE Related
Topic: Slow start times for MinGW binaries compared to VC. Advice?
Replies: 33
Views: 17854

Re: Slow start times for MinGW binaries compared to VC. Advi

Well, I got back to my main dev machine last night and see the same issue. The startup times are reduced, but only in a way that's consistent with it being a faster machine (8 minutes for a full WxWidgets compile vs x.y hours). Visual C++ builds on the Atom machine still start quicker than MinGW bui...
by Si
Mon Jul 30, 2012 10:36 am
Forum: Compiler / Linking / IDE Related
Topic: Slow start times for MinGW binaries compared to VC. Advice?
Replies: 33
Views: 17854

Re: Slow start times for MinGW binaries compared to VC. Advi

OK, I have successfully compiled 2.8.12 for a quick starting binary, but 2.9.4 glory still eludes me. Altering setup.h so that wxDEBUG_LEVEL will be set to 0 gives me the same slow startup time, but smaller libs. I also failed to see any difference with the latest build zip, but will try again. Madd...