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
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Time | Test | |
---|---|---|
60,110 ms | x64 debian > Clang.Driver::emit-reproducer.c | |
60,450 ms | x64 debian > Clang.Driver::fsanitize.c |