Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 3.5.0
-
None
-
Fedora 22, x86_64
Description
When using a large CMake project with the Ninja generator, there are long delays when any of the following occurs:
- The Finish button on the Run CMake window is pressed,
- The build configuration is switched, or
- The session is loaded
The delays are not noticeable when using the Makefile generator instead of Ninja.
Steps to reproduce:
- Decompress attached slow_loading_project.tar.gz
- Open the CMakeLists.txt inside it with Qt Creator
- On the Run CMake window, select the Ninja generator
- Press Run CMake
- Press Finish
- Try resizing the window or something that should cause the UI to change immediately.
The attached synthetic project will cause a delay of few seconds during which Qt Creator's UI is unresponsive and its CPU usage is high. I have seen a real world project that causes a delay of about 10 minutes.
I've attached an interactive SVG flamegraph showing which functions were using the CPU time during the delay.
Attachments
Issue Links
- is replaced by
-
QTCREATORBUG-14639 build.ninja is not closed during build
-
- Closed
-