PHP code example of chen-see / laravel-running-time
1. Go to this page and download the library: Download chen-see/laravel-running-time library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
'memory_limit' => '512M', //Modify to the appropriate value
shell
#This will count the last 7 days of data
php artisan running-time
#This will show the top 20 path
php artisan running-time --line=20
php artisan running-time --start=2019-03-03
php artisan running-time --start='1 month ago'
php artisan running-time --path='your path'
#Significantly reduce memory usage but increase time spent
php artisan running-time --lessMemory