[llvm-branch-commits] [MC][NFC] Reduce Address2ProbesMap size (PR #102904)

Amir Ayupov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Aug 12 07:03:32 PDT 2024


https://github.com/aaupov created https://github.com/llvm/llvm-project/pull/102904

Replace the map from addresses to list of probes with a flat vector
containing probe references sorted by their addresses.

Reduces pseudo probe parsing time from 9.56s to 8.59s and peak RSS from
9.66 GiB to 9.08 GiB as part of perf2bolt processing a large binary.

Test Plan:
```
bin/llvm-lit -sv test/tools/llvm-profgen
```





More information about the llvm-branch-commits mailing list