The following issue has been SUBMITTED. ====================================================================== https://cmake.org/Bug/view.php?id=15877 ====================================================================== Reported By: Jim King Assigned To: ====================================================================== Project: CMake Issue ID: 15877 Category: CMake Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 2015-12-11 00:50 EST Last Modified: 2015-12-11 00:50 EST ====================================================================== Summary: Performance regression in file generation Description: 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. Steps to Reproduce: See description. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2015-12-11 00:50 Jim King New Issue ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers