[PATCH] D155770: [llvm-profdata] Rewrite algorithm to reduce profile size limit
William Junda Huang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 19 19:10:54 PDT 2023
huangjd created this revision.
huangjd added reviewers: davidxl, xur, snehasish, wlei, hoy.
Herald added subscribers: wenlei, hiraditya.
Herald added a project: All.
huangjd requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Using the redesigned interface to take a range of NameFunctionSamples in
SampleProfileWriter, the performance of the default algorithm to reduce
the profile is greatly improved. Now use binary search to converge faster
since the container is not modified each iteration.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D155770
Files:
llvm/include/llvm/ProfileData/SampleProfWriter.h
llvm/lib/ProfileData/SampleProfWriter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155770.542273.patch
Type: text/x-patch
Size: 12774 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230720/31d9c743/attachment.bin>
More information about the llvm-commits
mailing list