From performance point of view, isn't it a good idea to know the average execution time for CRM Plugin?
Well, if we know the Avg execution time for the plugin, it might be easier to nail down some performance issues. Below is the query to find out Avg execution time for CRM Plugin:
SELECT PTB.Name, AverageExecuteTimeInMilliseconds, FailureCount, FailurePercent, ExecuteCount
FROM PluginTypeStatisticBase PTSB
JOIN PluginTypeBase PTB on PTSB.PluginTypeId = PTB.PluginTypeId
ORDER BY AverageExecuteTimeInMilliseconds
However, the above query will only work for those plugins, if plugins are registered in Sandbox isolation mode.