当前用于负载测试和性能分析ASP.NET Web应用程序的最佳实践是什么? [英] What are the current best practices for load testing and profiling ASP.NET web applications?

查看:59
本文介绍了当前用于负载测试和性能分析ASP.NET Web应用程序的最佳实践是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据Google Analytics(分析)的报告,我的任务是改善响应时间极高的网站特定页面的性能.

I am tasked with improving the performance of a particular page of the website that has an extremely high response time as reported by google analytics.

进行一些Google搜索就会发现VS2003附带的称为ACT(应用程序中心测试)的产品可以进行负载测试.这似乎不再分发了

Doing a few google searches reveals a product that came with VS2003 called ACT (Application Center Test) that did load testing. This doesn't seem to be distributed any longer

在尝试对其进行优化之前,我希望能够获得此页面的基准测试,以便可以看到所做的更改.

I'd like to be able to get a baseline test of this page before I try to optimize it, so I can see what my changes are doing.

诸如Jetbrains的dotTrace之类的分析应用程序可能会参与其中,而我已经使用跟踪隔离了一些在页面中花费一些时间的操作.

Profiling applications such as dotTrace from Jetbrains may play into it and I have already isolated some operations that are taking a while within the page using trace.

围绕性能和负载测试的最佳实践和工具是什么?我主要是希望能够看到结果而不是如何完成结果.

What are the best practices and tools surrounding performance and load testing? I'm mainly looking to be able to see results not how to accomplish them.

推荐答案

此处是显示如何使用VSTS分析器进行分析的文章.

Here is an article showing how to profile using VSTS profiler.

除了所有工具之外,为什么不尝试启用asp.net的运行状况监视"功能.

Also apart from all the tools why not try enabling the "Health Monitoring" feature of asp.net.

它为分析提供了一些很好的信息.它发出与进程,内存,磁盘使用情况,计数器等有关的基本信息.带有VSTS负载测试的HM为您提供了一个很好的分析平台.

It provides some good information for analysis. It emits out essential information related to process, memory, diskusage, counters etc. HM with VSTS loadtesting gives you a good platform for analysis.

查看以下链接.

如何配置HealthMonitoring?

此外,为参考某些清单,请查看yahoo ...的以下规则/提示.

Also, for reference to some checklist have a look at the following rules/tips from yahoo....

高性能网站规则/提示

HttpWatch还是识别特定性能问题的好工具.

HttpWatch is also a good tool to for identifying specific performance issues.

HttpWatch-链接

也可以在这里查看一些技巧. 10个ASP.NET性能和可伸缩性秘密

Also have a look at some of the tips here.. 10 ASP.NET Performance and Scalability secret

这篇关于当前用于负载测试和性能分析ASP.NET Web应用程序的最佳实践是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆