ASP.NET MVC应用程序性能分析

时间:2022-06-01 18:53:59

How are people currently profiling the performance of their ASP.NET MVC applications?

人们目前如何分析其ASP.NET MVC应用程序的性能?

I'd be most interested in simple and free approaches.

我最感兴趣的是简单而*的方法。

6 个解决方案

#1


14  

Stack Overflow have released their own profiler as a new opensource project

Stack Overflow已经发布了自己的分析器作为一个新的开源项目

http://miniprofiler.com/

http://miniprofiler.com/


UPDATE:

It's also worth mentioning Glimpse as another alternative profiling tool

值得一提的是Glimpse是另一种替代性分析工具

http://getglimpse.com/

http://getglimpse.com/

#2


7  

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.

Glimpse是一个有用的工具。它提供了许多详细信息,并支持EF以及Asp.net webforms和MVC。希望这有助于某人。

#3


3  

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.

你能用这种技术吗?它是免费的,适用于任何语言或平台。它精确地定位点以进行优化,但作为测量方法,它是不精确的。这是低技术,但这里讨论它为什么起作用。

#4


3  

My best candidate is dotTrace profile from JetBrains.Have a look here

我最好的候选人是JetBrains的dotTrace个人资料。看看这里

#5


3  

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.

如果你对性能分析很认真,那么你可能需要花一些钱。我花了很多时间使用Redgate的ANTS分析器,它帮助我找到了一些导致性能问题的代码非常不寻常的方面。

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.

Mike建议的技术很好,而且我也使用过它,但是如果你真的想深入了解热点以及如何调用那些热点那么像dotTrace和ANTS这样的工具非常好。我个人更喜欢ANTS,但dotTrace也会做这个工作。

#6


2  

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.

您可以查看JMeter,这是一个基于Java的免费桌面应用程序,允许您加载测试任何Web应用程序。另一个免费工具是The Grinder。

#1


14  

Stack Overflow have released their own profiler as a new opensource project

Stack Overflow已经发布了自己的分析器作为一个新的开源项目

http://miniprofiler.com/

http://miniprofiler.com/


UPDATE:

It's also worth mentioning Glimpse as another alternative profiling tool

值得一提的是Glimpse是另一种替代性分析工具

http://getglimpse.com/

http://getglimpse.com/

#2


7  

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.

Glimpse是一个有用的工具。它提供了许多详细信息,并支持EF以及Asp.net webforms和MVC。希望这有助于某人。

#3


3  

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.

你能用这种技术吗?它是免费的,适用于任何语言或平台。它精确地定位点以进行优化,但作为测量方法,它是不精确的。这是低技术,但这里讨论它为什么起作用。

#4


3  

My best candidate is dotTrace profile from JetBrains.Have a look here

我最好的候选人是JetBrains的dotTrace个人资料。看看这里

#5


3  

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.

如果你对性能分析很认真,那么你可能需要花一些钱。我花了很多时间使用Redgate的ANTS分析器,它帮助我找到了一些导致性能问题的代码非常不寻常的方面。

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.

Mike建议的技术很好,而且我也使用过它,但是如果你真的想深入了解热点以及如何调用那些热点那么像dotTrace和ANTS这样的工具非常好。我个人更喜欢ANTS,但dotTrace也会做这个工作。

#6


2  

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.

您可以查看JMeter,这是一个基于Java的免费桌面应用程序,允许您加载测试任何Web应用程序。另一个免费工具是The Grinder。