I'm currently debugging a slow query issue.
As expected, the first time query execution is the slowest with subsequent hits way faster due to caching.
As such, what is the best way to get consistent query times so I can debug properly?
Ive thought about using profile API but then it adds significant overhead of its own thus not giving true execution time perhaps?