On Sun, 2004-07-25 at 12:53, Gareth Ardron wrote:
> OK, very very quick benchmark on the realpath stuff
Just as a bit of a follow-on......
> * after realpath modifications
> root@mesa:/# time php /home/gaz/test.php
> real 3m12.067s
> user 1m22.602s
> sys 1m24.608s
The above was all done on absolutle paths. I've since tried a seperate
test with the same number of includes(same files infact) - but this time
with the files in php's search path and called them via include
"dir/file.php"; much like the typical PEAR usage. This one totally
surprised me.
root@mesa:/# time php /home/gaz/test.php
real 3m12.264s
user 1m39.049s
sys 1m23.718s
Virtually identical. Wow. Ok, I'm seriously impressed with this patch.