llvm-project
792a7bbd - [profcheck] Option to inject distinct small weights (#159644)

Commit
43 days ago
[profcheck] Option to inject distinct small weights (#159644) There are cases where the easiest way to regression-test a profile change is to add `!prof`​ metadata, with small numbers as to simplify manual verification. To ensure coverage, this (the inserting) may become tedious. This patch makes `prof-inject`​ do that for us, if so opted in. The list of weights used is a bunch of primes, used as a circular buffer. Issue #147390
Author
Parents
Loading