diff options
author | Lubos Lunak <l.lunak@centrum.cz> | 2019-10-11 19:34:39 +0000 |
---|---|---|
committer | Lubos Lunak <l.lunak@centrum.cz> | 2019-10-11 19:34:39 +0000 |
commit | e2ca7cb504a84b7a64c670455eb5e66e9cf0ecff (patch) | |
tree | b54834739adfe205e522aedd425542cde39dc7ec /lldb/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py | |
parent | f358c3d3717648cd076add3774c164ad444168d6 (diff) | |
download | bcm5719-llvm-e2ca7cb504a84b7a64c670455eb5e66e9cf0ecff.tar.gz bcm5719-llvm-e2ca7cb504a84b7a64c670455eb5e66e9cf0ecff.zip |
make ConstString allocate memory in non-tiny chunks
BumpPtrAllocator allocates in 4KiB chunks, which with any larger
project is going to result in a large number of allocations.
Increasing allocation size this way can save 10%-20% of symbol
load time for a huge C++ project with correctly built debuginfo.
Differential Revision: https://reviews.llvm.org/D68549
llvm-svn: 374583
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py')
0 files changed, 0 insertions, 0 deletions