[PATCH] D152490: [llvm-profdata] Use StringRef for CallTargetMap
William Junda Huang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 12 17:53:05 PDT 2023
huangjd added a comment.
Holding on to this patch. Currently I am also exploring writing a specialized container for all the map types used by SampleProfile, given the fact that in production profiles maps typically have 0 or 1 elements (~90%), and map allocation is a huge bottleneck (~25% full profile load time), having a specialized map structure is beneficial
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152490/new/
https://reviews.llvm.org/D152490
More information about the llvm-commits
mailing list