MantisBT - CMake
View Issue Details
0015877CMakeCMakepublic2015-12-11 00:502016-06-10 14:31
Jim King 
Kitware Robot 
normalminoralways
closedmoved 
LinuxUbuntu14.04 LTS
CMake 3.4 
 
0015877: Performance regression in file generation
There was a significant performance regression between CMake 2.8 and 3.4
between "-- Configuring done" and "--Generating done" phases. We have a rather
large project with a number of files and here are the timing results:

CMake-3.4

39.27user 10.14system 0:50.62elapsed 97%CPU (0avgtext+0avgdata 119384maxresident)k
40inputs+167408outputs (0major+254266minor)pagefaults 0swaps

CMake-2.8

21.97user 8.09system 0:32.09elapsed 93%CPU (0avgtext+0avgdata 163040maxresident)k
8400inputs+172200outputs (30major+266779minor)pagefaults 0swaps

We're generating on Ubuntu 14.04 LTS with the command:
CC=clang CXX=clang++ time /usr/bin/cmake -G"Eclipse CDT4 - Unix Makefiles"

I could not find a defect for this so I decided to add one.
See description.
No tags attached.
Issue History
2015-12-11 00:50Jim KingNew Issue
2015-12-11 06:21BartoszNote Added: 0039968
2015-12-11 09:38Jim KingNote Added: 0039969
2016-06-10 14:29Kitware RobotNote Added: 0042899
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0039968)
Bartosz   
2015-12-11 06:21   
Could you please check in which exactly version this rergession was introduced?
Is it CMake 3.0 itself?
(0039969)
Jim King   
2015-12-11 09:38   
Sure, I might be able to do this today - I will let you know the results.
(0042899)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.