AUTOGEN: Configuration Performance regression in 3.13
After updating CMake to the current 3.13.4 I found a rather big slowdown in the CMake run on our main repository (ca 3800 targets in ca 900 files). I've tried to bisect in which version this started and I found that it was introduced with
3.12.4 is running way faster.
I did some measurements:
|CMake Version||Step 1:||Step 2:||Step 3:||Overall|
cmake -G Ninja ../svn --debug-output 2>&1| ts
- Step 1 is from Start till "Configuring done"
- Step 2 is from "-- Configuring done" to "-- Generating <BUILD_DIR>"
- Step 3 is from "-- Generating <BUILD_DIR>" to Finish
It seems that all the time is lost after the Configuration Step and before the writing of build files starts.
It is not specific to the Ninja Generator, but even more for he "Unix Makefiles" Generator.
Is there a way to give you more information?