PHP 7.3 Performance Benchmarks

Some fresh benchmarks over the past day on PHP 5.5.38, PHP 5.6.38, PHP 7.0.32, PHP 7.1.24, PHP 7.2.13, and the PHP 7.3.0 release. PHP 7.3 is just shy of 10% faster than PHP 7.2 in the popular PHPBench. PHP 7.3 is 31% faster than PHP 7.0 or nearly 3x the speed of PHP5. 

Full results can be read on https://www.phoronix.com/.

Helpful quick todo for freebsd 12.0 to upgrade used PHP from 7.2 to 7.3:

a) put into /etc/make.conf line containing „DEFAULT_VERSIONS += PHP=7.3“

b) use some quick script to generate two useful commands to made the upgrade:

!/usr/local/bin/bash
LIST_DEL=““
LIST_INS=““
for FILE in pkg info | grep php72 | cut -f1 -d' ' ; do
PKGNAME=pkg info "$FILE"|grep 'Origin'|cut -f2 -d':' ;
NEWPKGNAME=“${PKGNAME//php72/php73}“ ;
LIST_DEL=“$LIST_DEL $FILE“;
LIST_INS=“$LIST_INS $NEWPKGNAME“;
done
echo „pkg delete -f $LIST_DEL“;
echo „portmaster $LIST_INS“;

Leave a Reply

Този сайт използва Akismet за намаляване на спама. Научете как се обработват данните ви за коментари.