mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-10-31 07:23:06 +08:00
`scriptc build --profile-use` prints one line on stderr with the number of functions the profile annotated, the number whose control flow changed since it was collected (mismatched), and the number it has no record of. When more than 10% of the functions the profile describes are mismatched, it also prints a warning to collect the profile again. The build still succeeds. Both the compiler library's build and the native compiler's build report the match. Cached builds report the match of the build that produced them: the native codegen and object caches store it beside the cached objects, and the executable cache stores it in its entry.