Skip to content

Commit b711f33

Browse files
committed
MCP-946: Price Index Optimization
1 parent c2a5557 commit b711f33

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

app/code/Magento/CatalogSearch/Model/ResourceModel/Fulltext/Collection.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,6 @@ protected function _renderFiltersBefore()
462462
$searchCriteria = $this->getSearchCriteriaResolver()->resolve();
463463
try {
464464
$this->searchResult = $this->getSearch()->search($searchCriteria);
465-
//dump($this->searchResult);
466465
$this->_totalRecords = $this->getTotalRecordsResolver($this->searchResult)->resolve();
467466
} catch (EmptyRequestDataException $e) {
468467
$this->searchResult = $this->createEmptyResult();

dev/tests/integration/framework/Magento/TestFramework/Listener/ExtededTestdox.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,6 @@ public function endTestSuite(TestSuite $suite): void
224224
{
225225
}
226226

227-
private $mem;
228227
/**
229228
* A test started.
230229
*
@@ -234,7 +233,7 @@ public function startTest(Test $test): void
234233
{
235234
if ($test instanceof $this->testTypeOfInterest) {
236235
$class = get_class($test);
237-
$this->mem = \memory_get_usage(1);
236+
238237
if ($this->testClass != $class) {
239238
if ($this->testClass != '') {
240239
$this->doEndClass();
@@ -278,10 +277,6 @@ public function endTest(Test $test, float $time): void
278277
$this->tests[$this->currentTestMethodPrettified]['time'] += $time;
279278
$this->currentTestClassPrettified = null;
280279
$this->currentTestMethodPrettified = null;
281-
$memDelta = \memory_get_usage(1) - $this->mem;
282-
if ($memDelta > 10000) {
283-
echo "Mem: [". number_format($memDelta /1000) . 'k]';
284-
}
285280
}
286281
}
287282

0 commit comments

Comments
 (0)