| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 47 | protected function printProfilerOutput() |
||
| 48 | { |
||
| 49 | $end = microtime(true); |
||
| 50 | $totalSecs = $end - $this->startTime; |
||
| 51 | |||
| 52 | $mins = floor($totalSecs / 60); |
||
| 53 | $secs = $totalSecs - ($mins * 60); |
||
| 54 | |||
| 55 | $this->output->write('Done in: ' . sprintf('%.3f', $totalSecs) . ' secs'); |
||
| 56 | $this->output->writeln(" ({$mins} mins " . sprintf('%.3f', $secs) . " secs)"); |
||
| 57 | |||
| 58 | $this->output->writeln('Max mem: ' . sprintf('%.3f', memory_get_peak_usage() / 1048576) . ' Mb'); |
||
| 59 | } |
||
| 60 | } |
||
| 61 |