| I checked the code base, and I'm not sure that is going to fix your issue because when a query takes less than 1ms, it's duration is going to be 0. So while it will work for the first example, it will not work for the second one because if on average the query takes 0.9 ms, the totalExecutionTime is going to be still 0. If 500 queries take 0.9 ms, and 500 queries take 1.1 ms, you will not get an average value of 1ms, as you would expect, but instead only the values that are greater than 1ms will be summed for the total execution, while the counter will be incremented even for the ones that are less than 1ms. So, in the end, we might want to change the timing precision to MICROSECOND too. |