Hi,
The time taken displayed in the ‘Messages’ tab is the time taken by SQLyog to render the query result in the UI from the moment the query execution started from the client (SQLyog).
You may refer the documentation for more info, here
For the data displayed in the ‘Profiler’ tab, we execute a set of statements which can be viewed in the ‘History’ tab. The time shown in the ‘Profiler’ tab is just the time taken by the MySQL server to execute the respective query.
Regards,
Sibin