diff options
author | Alex Shlyapnikov <alekseys@google.com> | 2017-04-12 21:44:56 +0000 |
---|---|---|
committer | Alex Shlyapnikov <alekseys@google.com> | 2017-04-12 21:44:56 +0000 |
commit | daa342d9c3ec5a3c270f0c3bff7f6d418a516cc0 (patch) | |
tree | e5acdf33feecfcdfcf9cf64caa1a6929aaf8c632 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | e60aa5182f3b722d9437fbebab95b526fc71f717 (diff) | |
download | llvm-daa342d9c3ec5a3c270f0c3bff7f6d418a516cc0.zip llvm-daa342d9c3ec5a3c270f0c3bff7f6d418a516cc0.tar.gz llvm-daa342d9c3ec5a3c270f0c3bff7f6d418a516cc0.tar.bz2 |
Cache size per class size in SizeClassAllocatorXLocalCache.
Summary:
Allocator::ClassIdToSize() is not free and calling it in every
Allocate/Deallocate has noticeable impact on perf.
Reviewers: eugenis, kcc
Subscribers: llvm-commits, kubamracek
Differential Revision: https://reviews.llvm.org/D31991
llvm-svn: 300107
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions