History log of /PHP-7.4/ext/phar/phar.c (Results 201 – 225 of 237)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-4.4.9RC1
# c48c63f5 22-Jul-2008 Dmitry Stogov

Improved webPhar speed (frontcontroller11.phar.phpt is disabled, should be removed)


# 68537af5 20-Jul-2008 Dmitry Stogov

Fixed directory reanming/deletion


# 67b77b06 17-Jul-2008 Dmitry Stogov

Fixed search on uninitialized data


# 5c631e87 17-Jul-2008 Dmitry Stogov

Fixed wrong arguments order


# 53bbf123 10-Jul-2008 Dmitry Stogov

Extensions MUST NOT manipulate with internal functions from EG(function_table) in run-time. It may cause problems with opcode caches and in multi-threaded environment. Now the same functions are over

Extensions MUST NOT manipulate with internal functions from EG(function_table) in run-time. It may cause problems with opcode caches and in multi-threaded environment. Now the same functions are overriden at MINIT and call original functions or PHAR ones dependent on flag setting.

show more ...


# ae7eff10 09-Jul-2008 Antony Dovgal

add zero-terminator to the delimiter (and make valgrind happy)


# 37c684ab 27-Jun-2008 Greg Beaver

in preparation for a performance optimization that involves
eliminating phar's interception of zend_compile in favor of a new to-be-added hook in PHP 5.3+,
allow "include 'phar:///path/to/my.

in preparation for a performance optimization that involves
eliminating phar's interception of zend_compile in favor of a new to-be-added hook in PHP 5.3+,
allow "include 'phar:///path/to/my.phar';" to work as equivalent to
php /path/to/my.phar
this slight change in scripting still allows inclusion and execution of phar stub, but removes the need to
check and modify path in zend_compile, which allows us to play much nicer with external tools like
debuggers/opcode caches

show more ...


# b9e8695e 23-Jun-2008 Steph Fox

- One solution for the openssl issues
- config.m4 needs bringing into line with config.w32, there may be broken behaviour under *nix until this is done


# 3a8b14f8 22-Jun-2008 Greg Beaver

fix inode calculation, we need fname to be set for phar/tar formats prior to manifest parsing


# b964ec6e 21-Jun-2008 Steph Fox

- ws


# eb0a9893 21-Jun-2008 Greg Beaver

PHP 5.2 fixes to direct include of compressed archives


# fc08a7cc 20-Jun-2008 Steph Fox

The only reason that particular 'real solution' wasn't applied in the first place was that it also breaks the shared build
Maybe we don't need to call a non-existent dtor if we're going to physic

The only reason that particular 'real solution' wasn't applied in the first place was that it also breaks the shared build
Maybe we don't need to call a non-existent dtor if we're going to physically apply zend_hash_graceful_reverse_destroy()?
- This works on my box, please test under *nix/OSX

show more ...


# 7cc6b9f3 20-Jun-2008 Greg Beaver

making progress - up to 42/phar vs. 48/disk with these optimizations


# 52335050 20-Jun-2008 Greg Beaver

revert really bad solution to the zend_init_rsrc_list/zend_destroy_rsrc_list problem, replace with real solution


# aa694b8b 18-Jun-2008 Steph Fox

- Kill 10 MSVC compiler warnings due to type conflict
- Make cached manifest test platform agnostic
- Comment out zend_(init|destroy)_rsrc_list() and associated references

@Greg: cac

- Kill 10 MSVC compiler warnings due to type conflict
- Make cached manifest test platform agnostic
- Comment out zend_(init|destroy)_rsrc_list() and associated references

@Greg: cached manifest test (now) passes here regardless, make of that what you will

show more ...


# cbe23b9f 18-Jun-2008 Greg Beaver

fix windows build and more performance jumps (these are minor)
implement real copy-on-write
use virtual_dirs for wrapper stat


# d8d31bc5 16-Jun-2008 Greg Beaver

remove unused variables in phar_fix_filepath
copy virtual_dirs to avoid segfault on multi-process
fix metadata reading for phar.cache_list
initialize manifest to exact size needed (perfor

remove unused variables in phar_fix_filepath
copy virtual_dirs to avoid segfault on multi-process
fix metadata reading for phar.cache_list
initialize manifest to exact size needed (performance increase)
fix freeing of signature on error to use the correct persist value (fixes segfault on error in cache.list)
reset EG(regular_list) so it is identical to how we found it

show more ...


# c353e927 15-Jun-2008 Greg Beaver

minor performance improvement


# 41047860 15-Jun-2008 Greg Beaver

another optimization - move inode hash to initial manifest parsing, improves runtime perf of stat slightly


# d8ed660a 15-Jun-2008 Greg Beaver

minor optimization


Revision tags: BEFORE_NEW_PARAMETER_PARSE
# 04e257a8 15-Jun-2008 Greg Beaver

HUGE speed improvement, from 19 req/sec to 27 req/sec for phpMyAdmin - now speed with apc+phar.cache_list = on-disk speedcvs diff -u |less This is by generating a list of virtual directories and usi

HUGE speed improvement, from 19 req/sec to 27 req/sec for phpMyAdmin - now speed with apc+phar.cache_list = on-disk speedcvs diff -u |less This is by generating a list of virtual directories and using those in stat calls instead of scanning the whole manifest hash table. on-disk phpMyAdmin = 28 req/sec

show more ...


# 5ff4deaa 13-Jun-2008 Greg Beaver

full refactor of signatures complete - now to implement them for tar as a starting point


# d61f32d0 13-Jun-2008 Felipe Pena

- Fix build (ZTS)


# 9c8d13fd 13-Jun-2008 Greg Beaver

partial refactor - move signature verification into its own function, in preparation for tar/zip signature support.
next is signature creation


# 98f2dc2a 12-Jun-2008 Greg Beaver

[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 manife

[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

show more ...


12345678910