diff options
| author | Piotr Zegar <me@piotrzegar.pl> | 2023-05-26 16:03:39 +0000 |
|---|---|---|
| committer | Piotr Zegar <me@piotrzegar.pl> | 2023-05-26 17:46:13 +0000 |
| commit | 2a84c635f2a1dcb4546a5d751a32eac24103c7e6 (patch) | |
| tree | c81c2d74938c7a48465d30944941a5e8339c2619 /lldb/test/API/functionalities/interactive_scripted_process/TestInteractiveScriptedProcess.py | |
| parent | 437ec156ef697e84d9e9e4c1f190d468dcee4096 (diff) | |
[clang-tidy] Optimize misc-confusable-identifiers
Main performance issue in this check were caused by many
calls to getPrimaryContext and constant walk up to declaration
contexts using getParent. Also there were issue with forallBases
that is slow.
Profiled with perf and tested on open-source project Cataclysm-DDA.
Before changes check took 27320 seconds, after changes 3682 seconds.
That's 86.5% reduction. More optimizations are still possible in this
check.
Reviewed By: serge-sans-paille
Differential Revision: https://reviews.llvm.org/D151051
Diffstat (limited to 'lldb/test/API/functionalities/interactive_scripted_process/TestInteractiveScriptedProcess.py')
0 files changed, 0 insertions, 0 deletions
