Changes between Version 5 and Version 6 of AnalyzingBuildPerformance
- Timestamp:
- Jan 20, 2023, 10:31:26 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AnalyzingBuildPerformance
v5 v6 20 20 1. Clean your build directory (but make sure it still ''exists''). 21 21 2. `ClangBuildAnalyzer --start path/to/WebKitBuild` 22 3. `make debug ARGS='OTHER_CFLAGS=-ftime-trace OTHER_CPLUSPLUSFLAGS=-ftime-trace' ` 22 3. `make debug ARGS='OTHER_CFLAGS="-ftime-trace" OTHER_CPLUSPLUSFLAGS=-ftime-trace' ` 23 or: 24 3. Create a file called `LocalOverrides.xcconfig` in the root of the WebKit checkout with the following contents, and build with Xcode: 25 {{{ 26 OTHER_CFLAGS=$(inherited) -ftime-trace 27 OTHER_CPLUSPLUSFLAGS=$(inherited) -ftime-trace 28 }}} 23 29 24 30 Then, when the build is complete: