PHP code example of lsys / profiler
1. Go to this page and download the library: Download lsys/profiler 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/ */
lsys / profiler example snippets
$p=\LSYS\Profiler\DI::get()->profiler();
$token=$p->start("组1","测试1");
//这里写你的代码
isset($token)&&$p->stop($token);