经典ASP页面的性能测试?

New*_*bie 6 performance asp-classic

我想知道如何对旧的asp页面进行性能测试.你用过的任何工具?

Tra*_*isO 6

PS:我假设旧的ASP你指的是"经典ASP"而不是ASP.NET.

这里是我要放在页面上的一小段VBScript代码,以确定它们执行的时间,您可能会发现它很有用.

<%
' Start the timer
starttime = timer()
%>

<!-- HTML and Code Here -->

<%
' End the timer
endtime = timer()
' Get the difference
benchmark = endtime - starttime
' Output the timing result
%>
<div class="noprint"><div class="debug">
<span class="text">Execute: <%= benchmark %> secs</span>
</div></div>
Run Code Online (Sandbox Code Playgroud)


Vin*_*vic 4

关于如何对 ASP Web 应用程序进行压力测试并没有什么特别的。分析是另一回事。

对于压力测试,我推荐The Grinder(一次又一次:-))

我还没有分析过 ASP 应用程序,所以我无法为您提供帮助。