Dingo Framework

Dingo is a Rapid Development Application Framework written in PHP. Dingo allows you to create dynamic changing websites easily and quickly.

Benchmark Library

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();

© 2008 - 2010 Evan Byrne