O'Reilly logo

CodeIgniter 1.7 Professional Development by Adam Griffiths

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Benchmarking Class

The Benchmarking Class is used to calculate the time between two points in your application. It's always ON, which means you do not need to load the library before using it. The timing between the two points that you specify in your application is very accurate because this library is loaded at the same time as CodeIgniter, and ended by the output class immediately before data is sent to the browser.

Benchmarking is important in any application that should expect a large number of users. If, at some point, you realize that your application is slowing down for users at any one point, you can run a benchmark to find out where the bottleneck is, and how to remedy it.

Setting a benchmark

Creating a Benchmark is a very simply process. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required