1. A method comprising: executing a first function having a known optimization and a second function, the first function to provide a first trace and the second function to provide a second trace; and analyzing the first trace and the second trace to determine an optimization of the second function.