Created
November 23, 2021 10:07
-
-
Save dbwodlf3/e908ff123a121e49ce996992723e4905 to your computer and use it in GitHub Desktop.
PHP Performance Time Check.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $global_time = new HRTime\StopWatch; | |
| $global_time->start(); | |
| $time_1 = new HRTime\StopWatch; | |
| $time_1->start(); | |
| //**********// | |
| //**********// | |
| $time_1->stop(); | |
| $elapsed0 = $time_1->getLastElapsedTime(HRTime\Unit::MILLISECOND); | |
| echo($elapsed0); | |
| ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment