Re: [Qbs] Qbs (way) faster than cmake (or benchmark issue)

2019-07-16 Thread Denis Shienkov
Hi, time qbs -f ../qtcreator.qbs -j $jobs profile:qt-5-12-2 project.withAutotests:false vs cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS_DEBUG="-O0 -g" -G Ninja .. time ninja -j $jobs Is QBS's default profile is debug too? Because for CMake you set -DCMAKE_BUILD_TYPE=Debug. Maybe the use

Re: [Qbs] Qbs (way) faster than cmake (or benchmark issue)

2019-07-16 Thread Christian Gagneraud
On Tue, 16 Jul 2019 at 18:29, Christian Gagneraud wrote: > The compiler flags are not the same, but not so far off: > Qbs: -g -O0 -Wall -Wextra -m64 -pipe -fexceptions -fvisibility=hidden > -fvisibility-inlines-hidden -fPIC > CMake: -g -O0 -std=c++14 -fvisibility=hidden > -fvisibility-inlines-hidd

Re: [Qbs] Qbs (way) faster than cmake (or benchmark issue)

2019-07-16 Thread Christian Kandeler
On Tue, 16 Jul 2019 18:29:35 +1200 Christian Gagneraud wrote: > I finally found time to start my qbs vs cmake build perf. > > What i found is that qbs beats cmake 'big time' on my build machine > and i was actually surprised, so surprised that i'm trying to find > where is the mistake. Precompi

Re: [Qbs] Qbs (way) faster than cmake (or benchmark issue)

2019-07-16 Thread Christian Gagneraud
On Tue, 16 Jul 2019, 19:00 Oswald Buddenhagen, wrote: > On Tue, Jul 16, 2019 at 06:29:35PM +1200, Christian Gagneraud wrote: > > $ time qbs -f ../qtcreator.qbs profile:qt-5-12-2 > > user96m51.927s > > sys 19m52.059s > > > > $ time ninja > > user70m58.028s > > sys 23m9.238s > > > t

Re: [Qbs] Qbs (way) faster than cmake (or benchmark issue)

2019-07-16 Thread Oswald Buddenhagen
On Tue, Jul 16, 2019 at 06:29:35PM +1200, Christian Gagneraud wrote: > $ time qbs -f ../qtcreator.qbs profile:qt-5-12-2 > user96m51.927s > sys 19m52.059s > > $ time ninja > user70m58.028s > sys 23m9.238s > these system time figures appear *wy* too high to me. something funny ap