Re: Performance improvements

From: Date: Thu, 25 Mar 2010 16:51:48 +0000
Subject: Re: Performance improvements
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-47612@lists.php.net to get a copy of this message
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)

« previous php.internals (#47612) next »