CLion
 
Get CLion
Join the CLion 2025.1 Early Access Program and try out new features before they are released! Find out more

CMake profiling

Last modified: 11 February 2024

With CMake profiling, you can identify which operations of the project reload are most time-consuming, and optimize your CMake scripts if necessary.

Profiling works for CMake version 3.18 and later. CMake stores the results in Google’s Trace Event format. CLion's integration helps you run the tracing and visualize the results.

Once the profiling flags are added, CLion will collect the tracing info on every project reload. Click the link in notification to open the results:

CMake profiling results ready