When I run a SQL in MySql or I use the BENCHMARK command, I get a result like the following:
2 rows in set (0.00 sec)
0.00 sec isn’t very meaningful for some queries, and sometimes more precision is needed to figure out how long a query took in an even smaller unit of time. How do you do this in MySql?
Look into
Profilers, such as http://www.jetprofiler.com/ and others…Also, this question has some suggestions: Is there a Profiler equivalent for MySql?