Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_discuss thread: performance + include?


Message #1 by paulswilliams@o... on Fri, 25 May 2001 18:18:05
In the application I am currently writing, I wish to use the include 

directive to componentise development. However I am unsure about what 

effects this will have with regards to performance. I have read that this 

improves things, but I do not understand how, surely IIS reading 1 full 

text page would be easier than having to read 5 and piecing them together 

before serving to client. 



I have not performed any testing yet with regards to performance, but 

wanted to hear that I wasn't going in totally the wrong direction.
Message #2 by Kyle Burns <kburns@c...> on Sun, 27 May 2001 18:07:13 -0500
I don't know the exact numbers, but you will take at least a minimal

performance hit by using include directives.  The real question is whether

performance will still be acceptable after using the directive.  Probably

so...



We need to keep in mind that there is a balance that needs to be maintained

between performance and manageability.  Use of the include directive gives

us a huge boost in productivity by allowing for global changes in our

application to be made in one single place.  In most cases, this will far

outweigh the little bit of extra performance that we can gain by not using

them.  If you are in a situation where performance is that much of an issue,

your app may not be best suited for ASP anyway...



>> -----Original Message-----

>> From: paulswilliams@o... [mailto:paulswilliams@o...]

>> Sent: Friday, May 25, 2001 1:18 PM

>> To: asp_discuss

>> Subject: [asp_discuss] performance + include?

>> 

>> 

>> In the application I am currently writing, I wish to use the include 

>> directive to componentise development. However I am unsure 

>> about what 

>> effects this will have with regards to performance. I have 

>> read that this 

>> improves things, but I do not understand how, surely IIS 

>> reading 1 full 

>> text page would be easier than having to read 5 and piecing 

>> them together 

>> before serving to client. 

>> 

>> I have not performed any testing yet with regards to 

>> performance, but 

>> wanted to hear that I wasn't going in totally the wrong direction.


  Return to Index