Hi,

2016-10-21 22:03 GMT+02:00 Nuno Santos <nunosan...@imaginando.pt>:

> For Mac/iOS applications Qt uses clang (sorry for the misunderstanding)
> For Android build Qt uses GCC
>
> My main dev machine is a Macbook 13 Retina i5 2.5 dual core with a stock
> SSD drive
> The Windows machine I refer has a i5 2.5 quad-core with a Samsung 840 PRO
> SSD drive
>
> I bought the 840 PRO because it is known for it’s incredible performance.
>
> Compiling the exact same program on the windows machine is at least twice
> fast as on the mac machine. MSVC vs CLANG.
>
> Do you guys think this is only due to the drive? Isn’t it taking advantage
> of the extra cores on Windows? Also, on mac, it doesn’t seem to be taking
> advantage of the multiple cores.
>


Didn't you wrote that it was faster on Windows? That seems logical that it
could build by twice faster if it has twice times more cores.
When compiling the drive don't impact performances a lot because the OS is
doing a cache of source files, so you'll certainly can't see any
differences between two SSD.

To build faster, you have to take a look to the following patterns :
 - unity build
 - PIMPL
 - precompiled headers



>
> Question: passing -jX argument does anything or not?
>
> Regards
>
> Nuno
>
> > On 21 Oct 2016, at 19:06, Mike Jackson <imikejack...@gmail.com> wrote:
> >
> > Hmm,
> >  That does not seem correct? I have never seen a Windows build of
> anything go faster on Windows than on Linux or macOS give those are running
> on the exact same hardware.
> >
> > And when you state "GCC" builds are you using GCC from MacPorts,
> Homebrew or somewhere else? because Apple has not shipped GCC (at least a
> recent version) in a long time.
> >
> > --
> > Mike Jackson  [mike.jack...@bluequartz.net]
> >
> >
> > Nuno Santos wrote:
> >> Hi,
> >>
> >> On Windows, building a Qt app is blazing fast. It seems that jom takes
> the cpu cores to it’s maximum power.
> >>
> >> On Mac the GCC builds are really slow and passing the -jX argument
> doesn’t seem to make any difference. Is there a way to speed up builds? My
> projects have a lot of files now and compiling a build can take around 5
> minutes on a i5 2.5 dual core CPU.
> >>
> >> Any tips?
> >>
> >> Thanks!
> >>
> >> Regards,
> >>
> >> Nuno Santos
> >> Founder / CEO / CTO
> >> www.imaginando.pt
> >> +351 91 621 69 62
> >>
> >> _______________________________________________
> >> Interest mailing list
> >> Interest@qt-project.org
> >> http://lists.qt-project.org/mailman/listinfo/interest
>
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>



-- 
Xavier
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to