protected function getStats()
    {
        $endTime = microtime() - $this->startTime;
        $stats = sprintf(
            'Request-response cycle finished: %1.3fs'
            . ' - Memory usage: %1.2fMB (peak: %1.2fMB)'
            ,
            $endTime,
            memory_get_usage(true) / 1048576,
            memory_get_peak_usage(true) / 1048576
        );

        return $stats;
    }