Benchmark - adampatterson/Dingo-Framework GitHub Wiki
Overview
The benchmark helper simplifies basic time-based benchmarking. To load the benchmark helper manually you may do this:
load::library('benchmark');
Usage
bench::mark('start');
// Do something...
bench::mark('mid');
// Something else...
bench::mark('end');
echo bench::time('mid','end');
The above would display the elapsed time between the mid and end marks in milliseconds.
Clear
Cleans out all bench markers.
bench::clear();