diff options
Diffstat (limited to 'doc/manual/rl-next-dev/build-timing-analysis.md')
-rw-r--r-- | doc/manual/rl-next-dev/build-timing-analysis.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/manual/rl-next-dev/build-timing-analysis.md b/doc/manual/rl-next-dev/build-timing-analysis.md new file mode 100644 index 000000000..e59f3ca02 --- /dev/null +++ b/doc/manual/rl-next-dev/build-timing-analysis.md @@ -0,0 +1,15 @@ +--- +synopsis: Clang build timing analysis +cls: 587 +--- + +We now have Clang build profiling available, which generates Chrome +tracing files for each compilation unit. To enable it, run `meson configure +build -Dprofile-build=enabled` then rerun the compilation. + +If you want to make the build go faster, do a clang build with meson, then run +`maintainers/buildtime_report.sh build`, then contemplate how to improve the +build time. + +You can also look at individual object files' traces in +<https://ui.perfetto.dev>. |