This is an archive of the discontinued LLVM Phabricator instance.

[CSSPGO] Add a SecMetadataOffsetTable to extbinary profile
Needs ReviewPublic

Authored by hoy on Jun 27 2022, 12:09 PM.

Details

Reviewers
wenlei
wlei
Summary

I've been seeing compile time slowdown due to the loading of function metadata section with using CS nested profile for CSSPGO, where the metadata section is big due to its nested structure. I'm introducing SecMetadataOffsetTable to speed up the on-demand loading of the metadata section, similarly with the existing SecFunctionOffsetTable. This neables a 6% compilation speed up, based on one of our internal large benchmarks.

Diff Detail

Event Timeline

hoy created this revision.Jun 27 2022, 12:09 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 27 2022, 12:09 PM
hoy requested review of this revision.Jun 27 2022, 12:09 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 27 2022, 12:09 PM