Using Profiler | dibi

'sqlite3', 'database' => 'data/sample.s3db', 'profiler' => [ 'run' => TRUE, ], ]); // execute some queries... for ($i = 0; $i < 20; $i++) { $res = dibi::query('SELECT * FROM [customers] WHERE [customer_id] < ?', $i); } // display output ?>

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: