Dibi profiler example

'sqlite', 'database' => 'sample.sdb', 'profiler' => TRUE, )); for ($i=0; $i<20; $i++) { $res = dibi::query('SELECT * FROM [customers] WHERE [customer_id] < %i', $i); } ?>

Last query:

Number of queries:

Elapsed time for last query: ms

Total elapsed time: ms


Dibi can log to your Firebug Console. You first need to install the Firefox, Firebug and FirePHP extensions. You can install them from here: