[all-commits] [llvm/llvm-project] f5ef9b: [memprof] Call SmallVector::reserve (#86055)
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Thu Mar 21 11:18:13 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f5ef9bd26d531d104f44f9e5b283bd2f80c024be
https://github.com/llvm/llvm-project/commit/f5ef9bd26d531d104f44f9e5b283bd2f80c024be
Author: Kazu Hirata <kazu at google.com>
Date: 2024-03-21 (Thu, 21 Mar 2024)
Changed paths:
M llvm/lib/ProfileData/RawMemProfReader.cpp
Log Message:
-----------
[memprof] Call SmallVector::reserve (#86055)
With one raw memprof file I have, NumPCs averages about 41. Given the
default number of inline elements being 8 for SmallVector<uint64_t>,
we should reserve the storage in advance.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list