Re: Performance improvements
Zeev Suraski wrote:
> What does it contain?
It looks to me as if the patch would also reduce the memory footprint:
sb@thinkpad Framework % time /usr/local/php-5.3.2/bin/php \
../../../phpunit.php AssertTest
PHPUnit @package_version@ by Sebastian Bergmann.
............................................................ 60 / 289
............................................................ 120 / 289
............................................................ 180 / 289
............................................................ 240 / 289
.................................................
Time: 1 second, Memory: 4.75Mb
OK (289 tests, 807 assertions)
1.11s user 0.07s system 99% cpu 1.181 total
sb@thinkpad Framework % time /usr/local/php-5.4-perf/bin/php \
../../../phpunit.php AssertTest
PHPUnit @package_version@ by Sebastian Bergmann.
............................................................ 60 / 289
............................................................ 120 / 289
............................................................ 180 / 289
............................................................ 240 / 289
.................................................
Time: 1 second, Memory: 3.50Mb
OK (289 tests, 807 assertions)
1.05s user 0.06s system 99% cpu 1.110 total
--
Sebastian Bergmann Co-Founder and Principal Consultant
http://sebastian-bergmann.de/
http://thePHP.cc/
Thread (17 messages)