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