[nycphp-talk] file include performance

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

--- David Vogel <davevgl at> 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:

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


> thanks,
> David
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Tax Center - File online, calculators, forms, and more
> --- Unsubscribe at ---

More information about the talk mailing list