Track the duration and number of queries, as well as the percentage time taken