src/includes/classes/Core/Utils/Benchmark.php
public function print(bool $full_report = false)
    {
        $this->stopped   = microtime(true);
        $this->this_time = $this->stopped - $this->started;

        if ($this->last_time) {
            $_percent_diff = $this->c::percentDiff($this->last_time, $this->this_time, 2);
            $_percent_diff = $_percent_diff > 0 ? abs($_percent_diff).'% slower' : abs($_percent_diff).'% faster';

            $this->addStatistic('Processing Time', number_format($this->this_time, 8, '.', ''));
            $this->addStatistic('Time Comparison', $_percent_diff.' than '.number_format($this->last_time, 8, '.', '')."\n");
            unset($_percent_diff); // Housekeeping.
        } else {
            $this->addStatistic('Processing Time', number_format($this->this_time, 8, '.', '')."\n");
        }
        if ($full_report) {
            $this->addStatistic('Memory', $this->c::bytesToAbbr(memory_get_usage()));
            $this->addStatistic('Peak Memory', $this->c::bytesToAbbr(memory_get_peak_usage())."\n");

            $this->addStatistic('PHP Version', PHP_VERSION);
            $this->addStatistic('PCRE Version', PCRE_VERSION."\n");

            $this->addStatistic('Di Version', Classes\Di::VERSION);
            $this->addStatistic('Core Version', Classes\App::VERSION);
            $this->addStatistic('App Version', $this->App::VERSION."\n");

            $this->addStatistic('Locale', setlocale(LC_ALL, 0));
            $this->addStatistic('Charset', ini_get('default_charset')."\n");

            $this->addStatistic('Script Basename', basename($GLOBALS['argv'][0]));
        }
        $this->printAllStatistics(); // Print all statistics.
    }
public function print(bool $full_report = false)
    {
        $this->stopped   = microtime(true);
        $this->this_time = $this->stopped - $this->started;

        if ($this->last_time) {
            $_percent_diff = $this->c::percentDiff($this->last_time, $this->this_time, 2);
            $_percent_diff = $_percent_diff > 0 ? abs($_percent_diff).'% slower' : abs($_percent_diff).'% faster';

            $this->addStatistic('Processing Time', number_format($this->this_time, 8, '.', ''));
            $this->addStatistic('Time Comparison', $_percent_diff.' than '.number_format($this->last_time, 8, '.', '')."\n");
            unset($_percent_diff); // Housekeeping.
        } else {
            $this->addStatistic('Processing Time', number_format($this->this_time, 8, '.', '')."\n");
        }
        if ($full_report) {
            $this->addStatistic('Memory', $this->c::bytesToAbbr(memory_get_usage()));
            $this->addStatistic('Peak Memory', $this->c::bytesToAbbr(memory_get_peak_usage())."\n");

            $this->addStatistic('PHP Version', PHP_VERSION);
            $this->addStatistic('PCRE Version', PCRE_VERSION."\n");

            $this->addStatistic('Di Version', Classes\Di::VERSION);
            $this->addStatistic('Core Version', Classes\App::VERSION);
            $this->addStatistic('App Version', $this->App::VERSION."\n");

            $this->addStatistic('Locale', setlocale(LC_ALL, 0));
            $this->addStatistic('Charset', ini_get('default_charset')."\n");

            $this->addStatistic('Script Basename', basename($GLOBALS['argv'][0]));
        }
        $this->printAllStatistics(); // Print all statistics.
    }
Stop (and print).

@since 150424 Benchmarking.

@param bool $full_report Full report?