Skip to content

Instantly share code, notes, and snippets.

@tmotyl
Last active August 29, 2015 14:02
Show Gist options
  • Save tmotyl/cdc27072b7607eefc0a0 to your computer and use it in GitHub Desktop.
Save tmotyl/cdc27072b7607eefc0a0 to your computer and use it in GitHub Desktop.
HHVM

Paths

/var/www/site/ /var/www/site/app /var/www/site/web - webroot

Configuration and ports:

Host Machine:

9080 PHP-FPM http://site.local/ 9081 HHVM http://hiphop.site.local/

HipHop VM Ubuntu 14.04 192.168.66.66 hiphop-fpm.site.local hiphop.site.local site.local

forwarded_port, guest: 80, host: 9080 forwarded_port, guest: 81, host: 9081

Nginx

80 PHP-FPM :9003

HHVM :9000

============ Links

http://hhvm.com/ http://hhvm.com/frameworks (27 Frameworks at 100%)

https://github.com/facebook/hhvm/wiki/FastCGI https://github.com/facebook/hhvm/wiki/Building-and-installing-HHVM-on-Ubuntu-14.04 How to run unit tests on hhvm http://blog.macopedia.co/post/running-typo3-cms-on-hhvm-part2/

Tests: 7-9times faster http://www.ph-bergsmann.com/typo3/2014/04/04/typo3-hhvm-speed-comparison/ http://blog.snowflake.ch/2014/04/14/showdown-hhvm-vs-php5-fcgi-vs-php5-fpm/

strace -o /tmp/output.txt -f -r -s4096 -p 167842

Unit tests

./bin/phpunit -c typo3/sysext/core/Build/UnitTests.xml

Functional Tests

./bin/phpunit -c typo3/sysext/core/Build/FunctionalTests.xml

Hacking challenges

  1. Unit tests compatibility

  2. Functional tests compatibility

  3. Install tool

  4. Backend

  5. Frontend

  6. Including TYPO3 test suite into HHVM parity checking

  7. Better server setup?

  8. documentation / vagrant

  9. ???

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