Simple PHP class to benchmark functions