NYCPHP Meetup

NYPHP.org

[nycphp-talk] file include performance

Hans Zaunere zaunere at yahoo.com
Thu Apr 3 16:10:55 EST 2003


--- David Vogel <davevgl at yahoo.com> wrote:
> Just wondering if anyone has a sense of how much of a performance hit
> you incur by including a file in php.  Specifically I have a script
> with two main branches.  Does it make any sense to separate those out
> into two different include files, or does the cost of getting a file
> outweigh the cost of downloading both branches when only using one?

It might; if you expect a rise in traffic, or experience performance issues
now, you may see a benefit.  It's really a the cost of PHP reading and
compiling the files that's important.  I had a similar message about this:

http://nyphp.org/list/paralist_archive.php?L_mid=3771

( sorry folks - a new, SEARCHABLE mailing list archive is around the corner )

H



> 
> thanks,
> David
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - File online, calculators, forms, and more
> http://tax.yahoo.com
> 
> 
> --- Unsubscribe at http://nyphp.org/list/ ---
> 
> 




More information about the talk mailing list