public function render() {
		$totalEvents = $this->getTotalEvents();
		
		if ($totalEvents > 0) {
			$text  = 'Total: ' . $totalEvents . ' events in: ';
			$text .= round($this->getTotalElapsedTime(), 4) . 's ';
		} else {
			$text = 'No events';
		}
		
		$text .= PHP_EOL;
		
		$info = $this->getAdditionalInfo();
		
		if ($info !== null) {
			$text .= PHP_EOL;
			$text .= 'Info:' . PHP_EOL;
			
			if (is_string($info)) {
				$text .= $info . PHP_EOL;
			} else if (is_array($info)) {
				foreach ($info as $key => $part) {
					$text .= $key . ': ' . $part . PHP_EOL;
				}
			}
		}
		
		if ($totalEvents > 0) {
			$profiles = $this->getProfiles();
			$nm       = 1;
			
			$text .= PHP_EOL;
			$text .= 'Events:' . PHP_EOL;
			
			foreach ($profiles as $profile) {
				$text .= $nm ++ . '. ';
				$text .= $profile->getMessage() . ':';
				$text .= ' ' . round($profile->getElapsedTime(), 4) . 's';
				$text .= ' ' . $profile->getUsedMemory() . 'b';
				$text .= PHP_EOL;
			}
		}
		
		return $text;
	}