News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

ServerGrove Blog:
Running Composer with HHVM, not so fast!
April 21, 2014 @ 12:46:02

On the ServerGrove blog today they share some interesting results when it comes to using Composer on a normal PHP install versus using it inside of a HHVM instance.

HHVM is an open-source virtual machine developed by Facebook and designed for executing programs written in Hack and PHP. It offers increased performance for PHP, most of the time. [...] Since Composer needs to perform some heavy computations in order to resolve the dependencies of a project, it makes sense to use HHVM. However, the heavy computations are mainly done when running composer update, or when the composer.lock file has not yet been generated so this is where you will see most of your gains in execution time.

With a bit more testing, this is shown to be true (about a 7 second difference). However, this is only on the "update". The "install" command actually takes longer inside of the HHVM instance, regardless of if the JIT (Just In Time) compiler is disabled or not.

0 comments voice your opinion now!
composer install update speed performance benchmark

Link: http://blog.servergrove.com/2014/04/17/running-composer-hhvm-fast

blog comments powered by Disqus

Similar Posts

Gennady Feldman's Blog: Installing Oracle Instant Client and making it work with PHP

PHP.net: PHP 5.5.9 is ready for download

Leaseweb Labs Blog: Migration to Symfony2 continued

Bhaskar Karambelkar\'s Blog: Prototyping LAMP with WAMP

Gonzalo Ayuso's Blog: Performance analysis fetching data with PDO and PHP.


Community Events





Don't see your event here?
Let us know!


interview security library introduction application voicesoftheelephpant release podcast laravel community install opinion tool language version composer package symfony framework series

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework