aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/lldbtest.py
diff options
context:
space:
mode:
authorMark Santaniello <marksan@meta.com>2023-05-25 08:11:40 -0700
committerWenlei He <aktoon@gmail.com>2023-05-25 08:14:11 -0700
commit27c37327da67020f938aabf0f6405f57d688441e (patch)
treef5fe2c6cca31e1a4e2d2f9e8dc6b40df37c5ee3e /lldb/packages/Python/lldbsuite/test/lldbtest.py
parent5ec360c58961379f29e8a69cb98c352412329f77 (diff)
downloadllvm-27c37327da67020f938aabf0f6405f57d688441e.zip
llvm-27c37327da67020f938aabf0f6405f57d688441e.tar.gz
llvm-27c37327da67020f938aabf0f6405f57d688441e.tar.bz2
Avoid pointless canonicalize when using Dwarf names
CPU profile indicated memcmp was hot due to the two rfind calls in getCanonicalFnName. If UseSymbolTable is false, we can avoid the cost entirely. For CSSPGO profiles I've measured ~5% speedup with this change. Profile similarity before/after matches 100%. Reviewed By: wenlei Differential Revision: https://reviews.llvm.org/D151441
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbtest.py')
0 files changed, 0 insertions, 0 deletions