Optimization after using xhprof profiling