sofa
sofa copied to clipboard
[How-to] Profile CMake configuration
cmake . --profiling-format=google-trace --profiling-output=cmake_trace.json
and then with Chrome (I am sure there are external tools by the way), set the URL to about://tracing
and load your JSON file within the web app.
What you should obtain at the end:
Actually it is the same output as with the clang with the -ftime-trace to trace compilation. Seems that google trace is become de-facto standard. We probably need to think about writing our Advencded timer traces in that format