summaryrefslogtreecommitdiff
path: root/tools/warn/cpp_warn_patterns.py
diff options
context:
space:
mode:
author Dan Willemsen <dwillemsen@google.com> 2019-08-26 23:25:17 -0700
committer Dan Willemsen <dwillemsen@google.com> 2019-08-26 23:25:17 -0700
commit2abf159f9b3c8ee0f7a40cc657952424896722b5 (patch)
treed9dfef98ee38f7baec088d9f4381a18e931ad2d3 /tools/warn/cpp_warn_patterns.py
parent9de012ebde30eac4648f9163ae45f18d83336092 (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