public static function start(string $name = '') : string
{
$start = microtime(true);
if (empty($name)) {
$name = md5($start . rand(0, 100));
}
self::$starts[$name] = $start;
return $name;
}
/** * Starts profiling. * * @return \Jyxo\Rpc\Client */ protected function profileStart() { // Set start time if ($this->profiler) { $this->timer = \Jyxo\Timer::start(); } return $this; }