ab -k -c 50 -n 100000 http://192.168.0.61/hello.phpBenchmark Server configuration:Typical VPS Server in an OpenVZ container Running CentOS 7 2 cores of Intel(R) Xeon(R) CPU E5-1620 @ 3.60GHz 4G RAMPHP7-nightly build from Zend: PHP Version => 7.0.0-dev, Build Date => Jun 3 2015 HipHop VM 3.7.1-dev LiteSpeed: 4.2.23 OpenLiteSpeed 1.4.8 Nginx: 1.8.0 Apache: 2.4.6Contestants: We’ve pit many different setups against each other for serving a small PHP hello world script. The contestants:LiteSpeed Enterprise 4.2.23 with PHP 7 OpenLiteSpeed 1.4.8 with PHP 7 Apache 2.4.6 with PHP 7 – mod_PHP Nginx 1.8.0 with PHP 7 – PHP-FPM LiteSpeed Enterprise 4.2.23 with HHVM 3.7.1 OpenLiteSpeed 1.4.8 with HHVM 3.7.1 Apache 2.4.6 with PHP 7 – PHP-FPM Nginx 1.8.0 with HHVM 3.7.1 Apache 2.4.6 with HHVM 3.7.1Highlights and ConclusionFor a simple hello world test, PHP 7 beats HHVM, running up to 140% faster. LiteSpeed LSAPI (including OpenLiteSpeed LSAPI) is still topping the list as the world’s fastest way to talk to PHP Engines. It is faster than mod_PHP, PHP-FPM, and HHVM FastCGI. When using PHP 7, LiteSpeed and OpenLiteSpeed make your PHP Engine run 110% faster than Nginx and 187% faster than Apache. When using HHVM, LiteSpeed and OpenLiteSpeed make your PHP Engine run 73% faster than Nginx and 100% faster than Apache. OpenLiteSpeed gives you similar performance to LiteSpeed Enterprise.For this first round of the PHP 7 vs HHVM Benchmarking series, we have measured how fast your web server performs when talking to the PHP engine. This is purely a measure of the communication speed between the web server and the PHP Engine (IPC cost) and is not indicative of the PHP Engine speed. In this regard, LiteSpeed is the standout among all included servers. For PHP Engine performance benchmarks, stay with us as the next round of benchmarking is coming soon.
Please login or Register to submit your answer