[CMake] FYI - From Ninja-build mailing list - Fwd: Proposal: restat rules

Alexander Neundorf a.neundorf-work at gmx.net
Wed Oct 5 14:38:59 EDT 2011


On Wednesday 05 October 2011, Peter Kümmel wrote:
> And here some numbers to compare it with Qt's qmake.
> I've used this project: http://kst-plot.kde.org/
> which supports qmake and cmake.
> 
> Running make/ninja on a fresh compiled project
> with warm caches (in seconds):
> 
>          qmake      cmake     Ninja
>        Makefiles  makefiles
> 
> -j1    0.5-0.8   1.6-1.9   0.11-0.14
> -j2    0.6-0.8   1.3-1.4   0.11-0.13
> -j4    0.6-0.7   1.1-1.4   0.10-0.13
> 
> 
> Summary:
>      - Ninja is the fastest
>      - cmake Makefiles are really slow
>      - parallel jobs doesn't help much in this special case


and:
- qmake makefiles don't have complete dependencies

Seriously, if cmakes Makefiles are slower, I am very sure this is because they 
have complete dependencies.

Alex


More information about the CMake mailing list