jenkins-bot has submitted this change and it was merged.

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(-)

Approvals:
  Manybubbles: Looks good to me, approved
  jenkins-bot: Verified



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: merged
Gerrit-Change-Id: I1e161622364e96214dc27684064922497f9fa52a
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/CirrusSearch
Gerrit-Branch: master
Gerrit-Owner: Chad <[email protected]>
Gerrit-Reviewer: Manybubbles <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to