Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 forum without Response.write's?
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 13 August 2002 :  23:56:00  Show Profile  Send ruirib a Yahoo! Message
quote:
Originally posted by Fury


So what I am still wondering is if using a W2K Advanced server (is that asp 3?) will I see improved performance if I change Snitz 3.4 to a mixed mode (primarily straight HTML).


Win2K runs IIS 5.0, thus ASP 3.0. Yes, if you change to a mixed mode likelier your code will run even faster. The performance increase for 3.4 comes mainly from optimizing DB calls.
quote:

And the second question is, will that code still work in .net or will it be slower/faster/won't work at that time?


If your question is whether it will run in .Net servers, it will, since they support ASP 2.0 and ASP 3.0, besides ASP.NET.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Fury
New Member

USA
62 Posts

Posted - 14 August 2002 :  07:04:05  Show Profile
Great. Assuming no dissenting opinions to your answer I just have one last clarification. Under .net you say it will run with the mixed mode. Do you know if there is a performance gain or loss using mixed vs all response.write's?
Go to Top of Page

davemaxwell
Access 2000 Support Moderator

USA
3020 Posts

Posted - 14 August 2002 :  07:43:59  Show Profile  Visit davemaxwell's Homepage  Send davemaxwell an AOL message  Send davemaxwell an ICQ Message  Send davemaxwell a Yahoo! Message
In asp 3 and beyond, the performance difference between mixed vs all response.writes is negligible at best. Not really worth the hassle of going through and undoing...

Dave Maxwell
Barbershop Harmony Freak
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 14 August 2002 :  07:53:30  Show Profile  Visit Gremlin's Homepage
There actually evidence around Dave which shows upto 25% difference, thats not exactly negligble. I spent a lot of time researching this myself when I heard everything was going to be response.writes becuase I wanted to get a good idea of what impact it might have. I also did my own tests using MS Web Stress testing tool and various other things which backed up several of the claims regarding the performance difference.

Its a moot point really as the Development Path for 3.4 is set and its about to be released.

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

Michael Schmidt
Starting Member

23 Posts

Posted - 16 August 2002 :  16:04:17  Show Profile  Visit Michael Schmidt's Homepage  Send Michael Schmidt an AOL message  Send Michael Schmidt an ICQ Message  Send Michael Schmidt a Yahoo! Message
If im not mistaken, IIS 5 does a behind-the-scenes compile to help speed up page requests. It does this the first time a page is requested and its file has been modified. During this compile or whatever, all html pieces of the page are converted to response.write's anyway. So you should only see performance differences the very first time the page is loaded.

Michael D. Schmidt mds47
http://www.people.cornell.edu/pages/mds47/index.html
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 16 August 2002 :  20:53:07  Show Profile  Visit Gremlin's Homepage
I believe the precompile your thinking of is the pre-stage where the page is checked to see if it contains ASP code or just plain HTML, if it contains plain HTML then its flagged as not requiring to be parsed by ASP.DLL hence saving processing time.

In ASP2.0 all pages were sent to ASP.DLL which is why you had to name pages with just HTML in them .htm rather than .asp to prevent them from being parsed unneccessarily.

I believe there may be something else thats done by a precompiler but I've not been able to find anything documented anywhere on what it does.

I can tell you though that in testing pages were run both first and multiple times and differences were still to be seen.

Kiwihosting.Net - The Forum Hosting Specialists

Edited by - Gremlin on 16 August 2002 20:56:16
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.37 seconds. Powered By: Snitz Forums 2000 Version 3.4.07