'Custom action loading time

When using the attribute approach for actions we also get the loading time. When using custom actions that seems to be missing. Is there a way to instrument that so in both action categories we get the loading/execution time?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source