[nycphp-talk] file include performance
Ophir Prusak
ophir at prusak.com
Thu Apr 3 14:50:06 EST 2003
The performace hit of reading a file should be very very small.
If the file is read often it'll probably be in the OS's file cache anyways,
so you won't even be reading it from disk.
----- Original Message -----
From: "David Vogel" <davevgl at yahoo.com>
To: "NYPHP Talk" <talk at nyphp.org>
Sent: Thursday, April 03, 2003 2:19 PM
Subject: [nycphp-talk] file include performance
> 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?
>
> 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