public function getMetrics() { return ['memory' => $this->memory, 'time' => $this->time, 'nb_calls' => $this->nbCalls]; }