Skip to content

Instantly share code, notes, and snippets.

@pgodel
Last active August 29, 2015 13:59
Show Gist options
  • Save pgodel/10742902 to your computer and use it in GitHub Desktop.
Save pgodel/10742902 to your computer and use it in GitHub Desktop.
test to install symfony deps using PHP and HHVM
#!/bin/bash
# Instructions
# run: php composer.phar create-project symfony/framework-standard-edition test 2.4.3 --no-scripts
# cd test and download and run this script
if [ ! -f composer.phar ]; then
curl -sS https://getcomposer.org/installer | php
fi
echo Deleting vendor...
rm -rf vendor
echo PHP test
time php composer.phar install --prefer-dist --no-scripts
echo Deleting vendor...
rm -rf vendor
echo HHVM test
time hhvm composer.phar install --prefer-dist --no-scripts
@gustavotemple
Copy link

Hack vs PHP (Computer Language Benchmarks Game):

http://benchmarksgame.alioth.debian.org/u64q/hack.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment