State of PHP |
|
2024-11-23 |
|
|
8 |
|
|
Realworld benchmark
| FudForum 2.6.15 | Gallery v1.5.1-RC2-cvs-b6 | |
| Message Thread(*) | Album View (9 thumbs) | |
PHP 4.4 Base | 51.5 | 9.4 | |
PHP 5.0 | 42.1 | 8.2 | |
PHP 5.1 | 45.5 | 9.2 | |
| | | |
PHP 4.4 APC 3.0.6 | 145.0 | 23.4 | |
PHP 5.0 APC 3.0.6 | 140.0 | 26.2 | |
PHP 5.1 APC 3.0.6 | 142.6 | 29.8 | |
Benchmark details
(*) Cleared fud26_ses table between each test
Client: OS-X 10.4.2 1.5GHz PPC-G4 1G RAM running http_load -parallel 5
Server: Ubuntu Linux kernel 2.6.10, 1.8GHz AMD Athlon, 1G RAM, cpu bound during test
Network: 100baseT crossover, no other traffic
Apache 1.3.33
PHP 4.4 Configure Line
./configure --with-gd --with-jpeg-dir=/usr --with-freetype-dir=/usr --enable-gd-native-ttf \
--with-freetype-dir=/usr --enable-gd-imgstrttf --with-jpeg-dir=/usr --with-png-dir=/usr \
--enable-mbstring --with-xpm-dir=/usr/X11R6 --enable-exif --with-config-file-path=/etc \
--with-mysql=/usr --with-zlib --with-zlib-dir=/usr --with-expat=/usr --with-imap \
--with-gettext --with-kerberos --with-imap-ssl --with-mcrypt=/usr/local --with-iconv \
--enable-sockets --with-openssl --with-dom --with-dom-xslt --with-dom-exslt \
--without-pic --enable-ftp --with-mime-magic --with-snmp --with-apxs=/usr/bin/apxs
PHP 5.0/5.1 Configure Line
./configure --with-pdflib=/usr/local --with-gd --with-jpeg-dir=/usr --with-freetype-dir=/usr \
--enable-gd-native-ttf --with-freetype-dir=/usr --enable-gd-imgstrttf --with-jpeg-dir=/usr \
--with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --enable-exif --with-config-file-path=/etc/php5 \
--with-mysql=/usr --with-zlib --with-zlib-dir=/usr --with-expat=/usr --with-imap \
--with-gettext --with-kerberos --with-imap-ssl --with-mcrypt=/usr/local --with-iconv \
--enable-sockets --with-openssl --with-apxs=/usr/bin/apxs --without-pic --disable-pdo \
--enable-soap --with-xmlreader --with-xsl --enable-ftp --with-curl --prefix=/usr/local/php5