Compiler optimization technique in computer programming that uses profiling to improve program runtime performance