On 2/5/12 10:26 AM, Timm Friebe wrote:
Hi,

As many of you know we made huge improvements in PHP 5.4 memory usage
(enabling higher concurrency) and runtime performance.

Here are the unit test results for https://github.com/xp-framework/xp-framework 
and https://github.com/xp-framework/xp-language after applying workarounds for 
two bugs in current SVN (see https://gist.github.com/1746945). I think one can 
most definitely say there are some great improvements to be seen.

PHP 5.3.10 (Windows, Non-Thread-Safe)

     OK: 4593/4893 run (300 skipped), 4593 succeeded, 0 failed
     Memory used: 54871.11 kB (60676.78 kB peak)
     Time taken: 16.188 seconds

     OK: 1328/1338 run (10 skipped), 1328 succeeded, 0 failed
     Memory used: 25259.16 kB (25562.36 kB peak)
     Time taken: 4.571 seconds


PHP 5.4.0RC8-DEV (Windows, Non-Thread-Safe)

     OK: 4594/4893 run (299 skipped), 4594 succeeded, 0 failed
     Memory used: 39910.35 kB (47000.82 kB peak)
     Time taken: 15.674 seconds

     OK: 1328/1338 run (10 skipped), 1328 succeeded, 0 failed
     Memory used: 16318.44 kB (16931.49 kB peak)
     Time taken: 3.612 seconds


The memory usage is measured by memory_get_usage() / memory_get_peak_usage()

- Timm

Windows PHP 5.4 is built using profile-guided optimizations, but
PHP 5.3 isn't.  My reading of Pierre's own benchmarks are that this
seems to be contributing significantly to the 5.4 gains on Windows.
It makes Windows a poor platform to evaluate generic PHP 5.4 improvements.

Chris

--
Email: christopher.jo...@oracle.com
Tel:  +1 650 506 8630
Blog:  http://blogs.oracle.com/opal/

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to