Hashar has uploaded a new change for review.

Change subject: allow profiling of PHPUnit runs
......................................................................

allow profiling of PHPUnit runs

Our phpunit wrapper was missing a wfLogProfilingData() calls to log the
profiling information. Since the profiler also mention the request URL,
I simply catch the exception that occurs when using FauxRequest and
attempting to get the request URL.

This patch will let us profile function calls of our unit tests.

Change-Id: I331c7269fe1431ee8c6c29c5a5f11d1514d83b2c
---
M includes/GlobalFunctions.php
M tests/phpunit/MediaWikiPHPUnitCommand.php
2 files changed, 22 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/31/31231/1
--
To view, visit https://gerrit.wikimedia.org/r/31231
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I331c7269fe1431ee8c6c29c5a5f11d1514d83b2c
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to