public function developTest() { set_time_limit(400); ini_set('memory_limit', '1014M'); mt_mark('start-all'); $this->developGeneration(); dump(mt_mark('start-all', 'end-all', 'MB')); exit; }
function dmt_mark($point1 = '', $point2 = '', $unit = 'MB', $decimals = 4) { redline($point1 . ' - ' . $point2); $res = mt_mark($point1, $point2, $unit, $decimals); dump($res); }