File: readme-build-ftime.txt

package info (click to toggle)
libkleo 4%3A24.12.3-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 9,240 kB
  • sloc: cpp: 30,756; ansic: 302; makefile: 16; sh: 3
file content (26 lines) | stat: -rw-r--r-- 546 bytes parent folder | download | duplicates (51)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Analyzing Build Performance

For debug build time:
We need ClangBuildAnalyzer
`
git clone https://github.com/aras-p/ClangBuildAnalyzer
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=<path> ../
make install
`

## Command line

cmake -preset ftime-trace

ClangBuildAnalyzer --start $PWD/build-ftime-trace
cmake --build --preset ftime-trace

ClangBuildAnalyzer --stop $PWD/build-ftime-trace build-ftime.txt

ClangBuildAnalyzer --analyze build-ftime.txt > analyze-build-ftime.txt


see https://aras-p.info/blog/2019/09/28/Clang-Build-Analyzer/