PHP code example of tomk79 / microtime-recorder
1. Go to this page and download the library: Download tomk79/microtime-recorder 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/ */
tomk79 / microtime-recorder example snippets
$mr = new tomk79\microtimeRecorder( '/path/to/record.txt' );
$mr->rec(); // Save initial record
for( $i = 0; $i < 10000; $i ++ ){}
$mr->rec(); // Save 2nd record