mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 12:49:36 -06:00
For users of CMake who want to optimize their scripts if they take a while to run, this commit adds the ability to output profiling data. To enable this output, it adds the two command line parameters to select the output path and format. This commit adds the first profiling format of type ``google-trace``, which is the output is a JSON file containing Duration events as per the Google Trace Format specification: https://docs.google.com/document/d/1CvAClvFfyA5R- PhYUmn5OOQtYMH4h6I0nSsKchNAySU/preview#
10 lines
375 B
ReStructuredText
10 lines
375 B
ReStructuredText
cmake-profiling
|
|
---------------
|
|
|
|
* Add support for profiling of CMake scripts through the parameters
|
|
``--profiling-output`` and ``--profiling-format``. These options can
|
|
be used by users to gain insight into the performance of their scripts.
|
|
|
|
The first supported output format is ``google-trace`` which is a format
|
|
supported by Google Chrome's ``about:tracing`` tab.
|