dotdecay / time-benchy
Benchmark Tool for measuring execution times
v1.0.1
2023-04-28 11:37 UTC
Requires
- php: >=7.4
README
Small benchmark tool for measuring execution times.
Usage
$timeBenchy = new TimeBenchy(); $timeBenchy->mark('Start'); // [... some code here ...] $timeBenchy->mark('After function X'); // [... some code here ...] $timeBenchy->mark('After Database call'); // [... some code here ...] $timeBenchy->mark('End'); $timeBenchy->printStats();