protected static function _profilerFormatMemory($memoryBytes, $addMeasure = false)
    {
        $bytes = round($memoryBytes / 1024 / 1024, 3);

        if ($addMeasure) {
            $bytes .= ' MB';
        }

        return $bytes;
    }