PerfTips are definitely one of my favorite features of Visual Studio. Explaining what they do doesn't do them justice. You have to see them in action.
Using PerfTips to identify bottlenecks in code
Getting ready
Do not confuse PerfTips with CodeLens. It is a separate option from CodeLens in Visual Studio.
How to do it...
- PerfTips are enabled by default. But just in case you are not seeing any PerfTips, go to Tools | Options, and expand the Debugging node. Under General, to the bottom of the settings page, you will see an option called Show elapsed time PerfTip while debugging. Ensure that this option is checked...