in reply to timing response from database

You might want to take a look at DBI::Profile.