[all-commits] [llvm/llvm-project] 300663: [memprof] Use std::move in toMemProfRecord (#93133)
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Thu May 23 12:27:59 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 300663a190537cfd2692003dc4af0aebb904bde0
https://github.com/llvm/llvm-project/commit/300663a190537cfd2692003dc4af0aebb904bde0
Author: Kazu Hirata <kazu at google.com>
Date: 2024-05-23 (Thu, 23 May 2024)
Changed paths:
M llvm/lib/ProfileData/MemProf.cpp
Log Message:
-----------
[memprof] Use std::move in toMemProfRecord (#93133)
std::move and reserve here result in a measurable speed-up in
llvm-profdata modified to deserialize all MemProfRecords. The cycle
count goes down by 7.1% while the instruction count goes down by 21%.
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