How are people currently profiling the performance of their ASP.NET MVC applications?
I\'d be most interested in simple and free approaches.
My best candidate is dotTrace profile from JetBrains.Have a look here
Stack Overflow have released their own profiler as a new opensource project
http://miniprofiler.com/
It's also worth mentioning Glimpse as another alternative profiling tool
http://getglimpse.com/
You may take a look at JMeter which is a free Java based desktop application allowing you to load test any web application. Another free tool is The Grinder.
Can you use this technique? It's free and it works with any language or platform. It precisely locates points to optimize, though as a measurement method it is imprecise. It is low-tech, but here's discussion of why it works.
If you're serious about performance profiling then you might need to spend some money. I've spent a lot of time using Redgate's ANTS profiler and it has helped me find some very unusual aspects of my code that have caused performance problems.
Mike's suggested technique is good, and I've used that too, but if you really want to dig into the hot spots and how those hot spots were called then tools like dotTrace and ANTS are very good. Personally I prefer ANTS but dotTrace will do the job too.
Glimpse is a helpful tool. It provides many detailed information and has support for EF and both Asp.net webforms and MVC. Hope this helps someone.