Enable profiling and optimization