Aaron Schulz has uploaded a new change for review. https://gerrit.wikimedia.org/r/188586
Change subject: Revert "Revert "Use ProfilerSectionOnly to handle DB/filebackend entries and the like"" ...................................................................... Revert "Revert "Use ProfilerSectionOnly to handle DB/filebackend entries and the like"" This reverts commit 2e61751a0e008be58be93ce2fc14c9f86fc4560a. Change-Id: I68bac16ccd0bd2fe7a9f43b5b4bacb2390971c3d --- M wmf-config/StartProfiler.php 1 file changed, 6 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config refs/changes/86/188586/1 diff --git a/wmf-config/StartProfiler.php b/wmf-config/StartProfiler.php index ad47ef7..81ce618 100644 --- a/wmf-config/StartProfiler.php +++ b/wmf-config/StartProfiler.php @@ -16,6 +16,12 @@ 'flags' => XHPROF_FLAGS_NO_BUILTINS, 'output' => 'text', ); + } else { + $wgProfiler = array( + 'class' => 'ProfilerSectionOnly', + 'output' => 'udp', + 'sampling' => 50 + ); } // If HTTP_FORCE_LOCAL_XHPROF is set in the shell environment, -- To view, visit https://gerrit.wikimedia.org/r/188586 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I68bac16ccd0bd2fe7a9f43b5b4bacb2390971c3d Gerrit-PatchSet: 1 Gerrit-Project: operations/mediawiki-config Gerrit-Branch: master Gerrit-Owner: Aaron Schulz <asch...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits