It's... complicated
Baseline profiles work around the cold startup problem that interpreting, JIT-ing, and AOT-ing VMs have. Namely, they indicate the important code paths to be AOT-compiled eagerly upon install rather than after the code has warmed up and reached some threshold of hotness.
Now, you're right that native code has no equivalent because, well, it's already native. However, there are still opportunities to indicate to tooling which run at compile-time which functions are important. Usually this involves using tools like LTO (link-time optimization) and PGO (profile-guided optimization) which are very similar in their goal.
👍 1
❤️ 2
👍🏾 1
thank you color 1