li3_profiler
is a Lithium library for profiling requests built on Jim Rubenstein's PHP Profiler.
The library profiles the primary classes of your application and presents them in a concise report available on each page. Out of the box the library will profile the following:
- Routing
- Controller
- Session (read, write)
- Authentication (check, set, clear)
- Database queries
- View rendering
The injection of the report into the response is handled automatically by the library.
Clone the repository from your app/libraries
folder in your application and initialize submodules.
$ cd app/libraries
$ git clone https://github.com/joebeeson/li3_profiler
$ git submodule init && git submodule update
Add the library to your application's app/config/bootstrap/libraries.php
file.
Libraries::add('li3_profiler');
Visit your application, you should see something similar to the following image...
To view the available configuration options you should view the li3_profiler/config/bootstrap.php
file to see everything available to you.