Manual:$wgProfiling

Details
Enable for more detailed by-function times in debug log.

This setting was mostly deprecated in 1.8.0. It was removed entirely in 1.18.0. To enable profiling you now need to edit.