关于 asp+ 的其他的问题,豆腐的站点上已经写了很多的 文章了,我就在这里来再次比较一下
程序的运行速度的问题,请看程序
<%
Dim intStart,intStop As DateTime
Dim timeUse As TimeSpan
dim Sum,i,j as int32
intStart = DateTime.Now
for i=1 to 20000
for j=1 to 20000
Sum=Sum + i
next
next
intStop = DateTime.Now
timeUse = intStop.Subtract(intStart)
Response.Write (TimeSpan.ToString(timeUse))
%>
请看输出:是 3。6 秒左右,老天,速度真的是好快呀,达到了jsp 同等的运行效果,因为他们同样采用了 预编译(preCompile)的原因,怎么样,Cool 吧!
文章整理:西部数码--专业提供域名注册、虚拟主机服务
http://www.west263.com
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!


