-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
compile-time improvements - for_each std::tuple -> std::array
* eliminated looping over a tuple and for_each (expensive to instantiate) and to use a straight `std::array<std::string_view, ...> kDefaultTags` instead. The latter can be also evaluated during compile-time. * added ccache support (can be disabled) Signed-off-by: Ralph J. Steinhagen <[email protected]>
- Loading branch information
1 parent
4871965
commit 4069232
Showing
8 changed files
with
81 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# ClangBuildAnalyzer reads ClangBuildAnalyzer.ini file from the working directory | ||
# when invoked, and various aspects of reporting can be configured this way. | ||
# This file example is setup to be exactly like what the defaults are. | ||
|
||
# How many of most expensive things are reported? | ||
[counts] | ||
|
||
# files that took most time to parse | ||
fileParse = 10 | ||
# files that took most time to generate code for | ||
fileCodegen = 10 | ||
# functions that took most time to generate code for | ||
function = 30 | ||
# header files that were most expensive to include | ||
header = 10 | ||
# for each expensive header, this many include paths to it are shown | ||
headerChain = 5 | ||
# templates that took longest to instantiate | ||
template = 30 | ||
|
||
|
||
# Minimum times (in ms) for things to be recorded into trace | ||
[minTimes] | ||
|
||
# parse/codegen for a file | ||
file = 20 | ||
|
||
[misc] | ||
|
||
# Maximum length of symbol names printed; longer names will get truncated | ||
maxNameLength = 1000 | ||
|
||
# Only print "root" headers in expensive header report, i.e. | ||
# only headers that are directly included by at least one source file | ||
onlyRootHeaders = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters