[thelist] asp functions/performance

Ken Schaefer Ken at adOpenStatic.com
Sat Apr 16 20:17:29 CDT 2005

: From: thelist-bounces at lists.evolt.org [mailto:thelist-
: bounces at lists.evolt.org] On Behalf Of Dena Marchant
: Subject: [thelist] asp functions/performance
: What is the best way to make user defined functions 
: and subroutines available to my asp pages?  If I put 
: all the functions in an include will that affect 
: performance?

There will be an effect the first time the page is accessed (after every
reboot for IIS5, but only the first time after a page has been saved in IIS6
as it uses persistent template cache). When the page is accessed the first
time, all the include files, plus the page itself are "pseudo-compiled". The
more code you have, the longer this takes.

If you only have a few hundred lines of code, I wouldn't worry too much about
it. If you are getting to the point where you have 1000+ lines of code in
include files, consider splitting them by functionality, and only including
the include files you need for that page.

Consider moving to .NET as well - much better performance on today's



More information about the thelist mailing list