PHP code example of yii2-speed / speed
1. Go to this page and download the library: Download yii2-speed/speed 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/ */
yii2-speed / speed example snippets
composer
Array
(
[title] => Speed-20180316115016
[flag] =>
[alias] => Array
(
[0] => Start
[1] => test1
[2] => test2
[3] => test3
[4] => End
)
[option] => Array
(
[0] => Option-5aab3ef847c1a
[1] => Option-5aab3ef847cb9
[2] => Option-5aab3ef947dd4
[3] => Option-5aab3efb47efe
[4] => Option-5aab3efc48024
)
[time] => Array
(
[0] => 1521172216.2939
[1] => 1521172216.2941
[2] => 1521172217.2944
[3] => 1521172219.2947
[4] => 1521172220.295
)
[optionSpeed] => Array
(
[0] => 0.00016
[1] => 1.00029
[2] => 2.00030
[3] => 1.00029
)
[allSpeed] => 4.00104
[average] => 0.800208
)