note 62383 added to control-structures.for
| From: | alexpowell at savagepm dot co dot uk | Date: | Mon, 27 Feb 2006 13:59:10 +0000 |
| Subject: | note 62383 added to control-structures.for | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-104488@lists.php.net to get a copy of this message | ||
Hi,
I have been putting together a performance test suite for PHP. The idea is to collect performance
data of the fundamentals of the language - and how they change depending on version etc.
Loops are the first thing it tests.
I have found that for PHP 5.05 performance now seems to be quite constant across *all* methods of
looping - in fact foreach could actually run slower, if the key and value were requested.
Of course this may change over subsiqent versions, which is why I have made the tests. If
you're interested in testing your setup, get the scripts from http://www.savagepm.co.uk/
If anyone would like to add to them - or even create a new batch of tests feel free. I will be
publishing all results posted.
Alex
----
Server IP: 85.116.0.130
Probable Submitter: 62.3.201.26
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/control-structures.for.php
Edit -- http://master.php.net/note/edit/62383
Del: integrated -- http://master.php.net/note/delete/62383/integrated
Del: useless -- http://master.php.net/note/delete/62383/useless
Del: bad code -- http://master.php.net/note/delete/62383/bad+code
Del: spam -- http://master.php.net/note/delete/62383/spam
Del: non-english -- http://master.php.net/note/delete/62383/non-english
Del: in docs -- http://master.php.net/note/delete/62383/in+docs
Del: other reasons-- http://master.php.net/note/delete/62383
Reject -- http://master.php.net/note/reject/62383
Search -- http://master.php.net/manage/user-notes.php