diff options
| author | 2019-08-26 23:25:17 -0700 | |
|---|---|---|
| committer | 2019-08-26 23:25:17 -0700 | |
| commit | 2abf159f9b3c8ee0f7a40cc657952424896722b5 (patch) | |
| tree | d9dfef98ee38f7baec088d9f4381a18e931ad2d3 /tools/warn/cpp_warn_patterns.py | |
| parent | 9de012ebde30eac4648f9163ae45f18d83336092 (diff) | |
Improve performance (don't filter ALL_MODULES)
It turns out that this single line was responsible for 28-44% of the
time we spent parsing makefiles. So instead of filtering across
$(ALL_MODULES), check to see if a variable that we always would set is
set.
Test: treehugger
Test: check kati-build eval time before/after
Change-Id: I946c2efd060181a4ae9edd3409c53d9b49a58285
Diffstat (limited to 'tools/warn/cpp_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions