Let's talk about the execution speed of the program (comparison of dynamic programming languages such as asp, php, and jsp)

Source: Internet
Author: User

/*
Tofu is made of excellent products.
Tofu technology Station
If reprinted, indicate the source
*/
Hello everyone, I have previously written an article comparing several dynamic programming languages (for details, see lanmu/viewarticle. asp? Id = 17), at that time the asp rating is very low, because at that time jsp is really good, there is no technology at that time can catch up with jsp, now MS launched. the net strategy and the corresponding asp.net (asp +) change this situation.
For other asp + problems, many articles have been written on the tofu site. I will compare them here again.
For the program running speed problem, please refer to the program
<%
Dim intStart, intStop As DateTime
Dim timeUse As TimeSpan
Dim Sum, I, j as int32
IntStart = DateTime. Now
For 1 to 20000
For j = 1 ~ 20000
Sum = Sum + I
Next
Next
IntStop = DateTime. Now
TimeUse = intStop. Subtract (intStart)
Response. Write (TimeSpan. ToString (timeUse ))
%>
See output: 3. About 6 seconds, God, the speed is really fast. It has achieved the same running effect as jsp, because they also adopt preCompile. How about Cool!
Author: tofu (original)

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.