Manual:$wgProfileLimit

Details
Only record profiling info for pages that took longer than this. The value is in seconds.