Manual:$wgProfileLimit

Details
Only record profiling info for pages that took longer than this