Classes/Cundd/Noshi/Utilities/Profiler.php
static public function profile($message = null)
    {
        static $fileHandle = null;

        // Make sure the start time is defined
        if (!static::$startTime) {
            static::$startTime = microtime(true);
        }

        // Make sure the file handle exists
        if (!$fileHandle) {
            $fileHandle = fopen(static::$streamUri, 'w');
        }

        $output = sprintf('Profiler: %.4f', microtime(true) - static::$startTime);
        if ($message) {
            $output .= ' - ' . $message;
        }
        $output .= PHP_EOL;
        fwrite($fileHandle, $output);
    }
static public function profile($message = null)
    {
        static $fileHandle = null;

        // Make sure the start time is defined
        if (!static::$startTime) {
            static::$startTime = microtime(true);
        }

        // Make sure the file handle exists
        if (!$fileHandle) {
            $fileHandle = fopen(static::$streamUri, 'w');
        }

        $output = sprintf('Profiler: %.4f', microtime(true) - static::$startTime);
        if ($message) {
            $output .= ' - ' . $message;
        }
        $output .= PHP_EOL;
        fwrite($fileHandle, $output);
    }
Show the processing time

@param string $message Optional profiling message