[Qbs] Who compared build times of Qt Creator with CMake and qbs?

Orgad Shaneh orgads at gmail.com
Wed May 15 15:44:55 CEST 2019

I compared qbs and cmake/ninja, and got these results (Debug build, no
QbsPM and no Clang):

Notice that qbs builds unit tests, which cmake doesn't.

time qbs -f ../qt-creator/qtcreator.qbs profile:qt-5-11-1
cold ccache:
real    5m26.149s
user    125m3.443s
sys     16m55.134s

warm cache:
real    1m40.335s
user    17m20.419s
sys     4m12.409s

time cmake ../qt-creator -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
real    0m8.256s
user    0m7.425s
sys     0m0.827s

time ninja
cold cache:
real    5m23.413s
user    128m25.457s
sys     16m11.551s

time ninja:
warm cache:
real    0m45.964s
user    7m12.563s
sys     2m23.616s

- Orgad

On Wed, May 15, 2019 at 2:24 PM Epting, Thomas <thomas.epting at stryker.com>

>  > I would like to see qbs as a supported build system in Creator for as
> long as it does not
>  > cause too much hassle to do so. That is no different to any of the
> other plugins Creator
>  > has.
> Side note: I plan to take care of the qbsprojectmanager plugin (not Qbs
> itself) in the future. I also plan to do Qt6 adaptions to that plugin, if
> needed, and to keep the cmake build up to date. I've already spent some
> substantial effort in improving the plugin, it's just not yet pushed
> upstream because I don't have any time for doing so at the moment.
> Thomas
> _______________________________________________
> Qbs mailing list
> Qbs at qt-project.org
> https://lists.qt-project.org/listinfo/qbs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20190515/f6072111/attachment.html>

More information about the Qbs mailing list