Author |
Topic |
ruirib
Snitz Forums Admin
Portugal
26364 Posts |
Posted - 13 August 2002 : 23:56:00
|
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 |
|
|
Fury
New Member
USA
62 Posts |
Posted - 14 August 2002 : 07:04:05
|
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? |
|
|
davemaxwell
Access 2000 Support Moderator
USA
3020 Posts |
Posted - 14 August 2002 : 07:43:59
|
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 |
|
|
Gremlin
General Help Moderator
New Zealand
7528 Posts |
Posted - 14 August 2002 : 07:53:30
|
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
|
|
|
Michael Schmidt
Starting Member
23 Posts |
Posted - 16 August 2002 : 16:04:17
|
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 |
|
|
Gremlin
General Help Moderator
New Zealand
7528 Posts |
Posted - 16 August 2002 : 20:53:07
|
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 |
|
|
Topic |
|