ASP.NET MVC Application performance profiling
How are people currently profiling the performance of their ASP.NET MVC applications开发者_Go百科?
I'd be most interested in simple and free approaches.
Stack Overflow have released their own profiler as a new opensource project
http://miniprofiler.com/
UPDATE:
It's also worth mentioning Glimpse as another alternative profiling tool
http://getglimpse.com/
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.
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.
My best candidate is dotTrace profile from JetBrains.Have a look here
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.
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.
精彩评论