Again on the implementation of the speed of the problem, (continued asp,php and JSP and other dynamic programming)

Source: Internet
Author: User
js| Programming | program | dynamic | speed | problem | implementation


Hello everyone, I have written a number of dynamic programming languages compared to the article (see: Http://www.asp888.net/lanmu/viewarticle.asp?id=17), at that time the evaluation of the ASP is very low, because the JSP Really good, there is no technology at that time to catch up with JSP, now MS launched the. NET strategy, and the corresponding asp.net (is asp+), changed the situation
On the other issues of asp+, tofu site has written a lot of articles, I will be here to compare again
Program running speed problem, please see the program
<%
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))
%>
Please see output: is 3. 6 seconds or so, God, speed is really fast ah, to achieve the same JSP operating effect, because they also adopted the precompiled (Precompile), how, cool bar!




Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.