Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
15 | protected function logBenchmarkResult(int $entityCount): void |
||
16 | { |
||
17 | $this->getBenchmark()->end(); |
||
18 | |||
19 | $this->getLoggerUtil()->log(sprintf( |
||
20 | 'benchmarkResult for %d entities - executionTime: %s, memoryPeakUsage: %s', |
||
21 | $entityCount, |
||
22 | $this->getBenchmark()->getTime(), |
||
23 | $this->getBenchmark()->getMemoryPeak() |
||
24 | )); |
||
27 |