Hacker News new | ask | show | jobs
by vilya 3842 days ago
Profile Guided Optimisation is the search term you're looking for. For one example: GCC does it (you may need to use gprof as well, can't really remember).