optimizations to processors based on profiling