public function showTime()
    {
        // calculate duration of indexing process
        $endMicrotime = microtime(true);
        $duration = ceil(($endMicrotime - $this->startMicrotime) * 1000);

        // show sec or ms?
        if ($duration > 1000) {
            $duration /= 1000;
            $duration = intval($duration);
            return '<p><i>Indexing process for "'
            . $this->indexerConfig['title']
            . '" took '
            . $duration
            . ' s.</i> </p>'
            . "\n\n";
        } else {
            return '<p><i>Indexing process for "'
            . $this->indexerConfig['title']
            . '" took '
            . $duration
            . ' ms.</i> </p>'
            . "\n\n";
        }
    }