cellog Thu Jun 12 18:56:23 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/phar phar.c phar.phar phar_internal.h tar.c zip.c
/php-src/ext/phar/tests phpinfo_001.phpt phpinfo_002.phpt
phpinfo_003.phpt phpinfo_004.phpt
Log:
[DOC] add phar.cache_list, a PATH_SEPARATOR-separated list of full paths to
phar archives to cache
at startup. This caches the manifest, so that on first access to a phar
archive, no file manifest parsing occurs.
This could use further tweaking. For instance, the full copy of the manifest
into the current process may be unnecessary if refcounting could be external
to the manifest. This would be another significant gain. With APC, I
measure a slight perf increase to 19 req/sec up from 16 req/sec, without it
approaches
regular PHP at 3.8 req/sec (regular is 4 req/sec). This is benching
phpMyAdmin