Chad has uploaded a new change for review.
https://gerrit.wikimedia.org/r/156727
Change subject: Profile actual request in Searcher::search()
......................................................................
Profile actual request in Searcher::search()
Change-Id: I1e161622364e96214dc27684064922497f9fa52a
---
M includes/Searcher.php
1 file changed, 2 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/CirrusSearch
refs/changes/27/156727/1
diff --git a/includes/Searcher.php b/includes/Searcher.php
index 8ca0da7..338e64d 100644
--- a/includes/Searcher.php
+++ b/includes/Searcher.php
@@ -1011,7 +1011,9 @@
return Status::newFatal(
'cirrussearch-backend-error' );
}
) );
+ wfProfileIn( __METHOD__ . '-execute' );
$result = $work->execute();
+ wfProfileOut( __METHOD__ . '-execute' );
if ( $result->isOK() ) {
$responseData =
$result->getValue()->getResponse()->getData();
$result->setResult( true,
$this->resultsType->transformElasticsearchResult( $this->suggestPrefixes,
--
To view, visit https://gerrit.wikimedia.org/r/156727
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1e161622364e96214dc27684064922497f9fa52a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CirrusSearch
Gerrit-Branch: master
Gerrit-Owner: Chad <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits