问题描述
我想捕获 ASP.NET MVC 应用程序中请求的命中时间、处理时间、内存消耗和响应时间.
I would like to capture the hit time, processing time, memory consumption and response time of requests in ASP.NET MVC application.
有什么方法或工具可以执行此操作吗?
Is there any way or tool to perform this?
推荐答案
检查 miniprofiler,由 stackoverflow 团队开发
Check the miniprofiler, developed by the stackoverflow team
http://code.google.com/p/mvc-mini-profiler/
这可以帮助您进行一些分析.有一个可用的 nuget 包,您可以使用它来将其添加到您的项目中.
This helps you to do some analysis. There is a nuget pacakge available which you can use to add this to your project.
Scott 写了一篇关于如何使用它的帖子.
Scott has written a post about how to use that.
您也可以查看一瞥.
You can also look into Glimpse.
有一些商业产品可以进行内存和性能分析,例如telerik just trace.您可以下载他们的试用版并使用它
There are commerical products to do memory and performance profiling like telerik just trace. You can download their trial version and use that
这篇关于如何分析 ASP.NET MVC 应用程序中请求的性能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!