SlideShare a Scribd company logo
Live benchmark PHP and
HHVM
Some framework: Drupal 7, Drupal 8
Sang Le Thanh
Senior Developer at GO1
DO: https://www.drupal.org/u/shellingfox
Email: me@sanglt.com
BBM: 2BF4C8AE
Can we use HHVM in
production?
- Should we use HHVM now (How many percent test pass)
- The performance with regular PHP
We will compare HHVM with
• PHP 5.4.38
• PHP 5.5.22
• PHP 5.6.6
Hardware + OS:
Ubuntu 14.04.2 LTS – All PHP build from source use phpbrew with +default +dbs +gd +fpm variant
2 vCPU, 2GB RAM
Drupal 8 beta 9
0
50
100
150
200
250
300
350
400
Time Memory Failures
PHPUnit test
PHP 5.4.38 PHP 5.5.22 PHP 5.6.6 HHVM 3.6.1
Source: https://gist.github.com/sanglt/8a67842ca820d3d3426f
Drupal 7.36 benchmark: Page cache on, apc +
opcode off
0
200
400
600
800
1000
1200
n100 c1 n1000 c1 n1000 c10 n1000 c100 n10000 c100
Drupal 7.36 benchmark – higher is better
PHP 5.4.38 PHP 5.5.22 PHP 5.6.6 HHVM 3.6.1
Drupal 8beta9 benchmark: Page cache on,
apc + opcode off
0
100
200
300
400
500
600
n100 c1 n1000 c1 n1000 c10 n1000 c100 n10000 c100
Drupal 8beta9 benchmark – higher is better
PHP 5.4.38 PHP 5.5.22 PHP 5.6.6 HHVM 3.6.1
Drupal 7.36 benchmark: Page cache on, apc
(3.1.13) + opcode on
0
200
400
600
800
1000
1200
n100 c1 n1000 c1 n1000 c10 n1000 c100 n10000 c100
Drupal 7.36 benchmark – higher is better
PHP 5.4.38 PHP 5.5.22 PHP 5.6.6 HHVM 3.6.1
Drupal 8b9 benchmark: Page cache on, apc
(3.1.13) + opcode on
0
100
200
300
400
500
600
700
n100 c1 n1000 c1 n1000 c10 n1000 c100 n10000 c100
Drupal 8beta9 benchmark – higher is better
PHP 5.4.38 PHP 5.5.22 PHP 5.6.6 HHVM 3.6.1
Recommends:
• Drupal 7: HHVM if you can’t. PHP 5.4 + APC
• Drupal 8: HHVM if you cant’. PHP 5.5 + Opcode
References
• http://www.hhvm.com
• http://hhvm.com/blog/8939/etsys-transition-to-hhvm
• http://httpd.apache.org/docs/2.4/programs/ab.html
• https://github.com/phpbrew/phpbrew
Question & Answer
Sang Le Thanh
Senior Developer at GO1
Email: me@sanglt.com
BBM: 2BF4C8AE

More Related Content

PPTX
Hls за час
ODP
Wt vs phalcon
PDF
Pound & Varnish - Cache e Balanceamento de Carga
PPTX
Build & test Apache Hawq
KEY
Compact Web - Remind "web compression" -
PDF
PRoot improved kernel compatibility
PPTX
PHP and node.js Together
PDF
Calling java from a bash script 5
Hls за час
Wt vs phalcon
Pound & Varnish - Cache e Balanceamento de Carga
Build & test Apache Hawq
Compact Web - Remind "web compression" -
PRoot improved kernel compatibility
PHP and node.js Together
Calling java from a bash script 5

What's hot (15)

PDF
Wowza installation
PDF
Magento 2 Capistrano Deploy
PPTX
Node js packages [#howto with npm]
PDF
Laravel Poznań Meetup #12 - "Speed up web API with Laravel and Swoole using ...
PDF
Ninja Build: Simple Guide for Beginners
PDF
Debugging Drupal with Xdebug
PDF
LibreOffice oss-fuzz, crashtesting, coverity
PDF
Ondřej Procházka - Deployment podle Devel.cz
PDF
'THE AGE OF DATA STREAMING' by DENIS BURYACHKOVSKY at OdessaJS'2020
PDF
Capistrano deploy Magento project in an efficient way
PDF
Portable class library to .NET Standard Extension
PPTX
Standards: Don't pee in the pool
PDF
Docker: ao vivo e a cores
PDF
Xdebug from a to x
PDF
Vitaly ̈_Vi ̈ Shukela - My FOSS projects
Wowza installation
Magento 2 Capistrano Deploy
Node js packages [#howto with npm]
Laravel Poznań Meetup #12 - "Speed up web API with Laravel and Swoole using ...
Ninja Build: Simple Guide for Beginners
Debugging Drupal with Xdebug
LibreOffice oss-fuzz, crashtesting, coverity
Ondřej Procházka - Deployment podle Devel.cz
'THE AGE OF DATA STREAMING' by DENIS BURYACHKOVSKY at OdessaJS'2020
Capistrano deploy Magento project in an efficient way
Portable class library to .NET Standard Extension
Standards: Don't pee in the pool
Docker: ao vivo e a cores
Xdebug from a to x
Vitaly ̈_Vi ̈ Shukela - My FOSS projects
Ad

Similar to Drupal hhvm benchmark (20)

PPTX
Performance Comparison of PHP 5.6 vs. 7.0 vs HHVM
PDF
Hhvm and wordpress
PPT
PDF
Escalando PHP e Drupal: performance ao infinito e além! - DrupalCamp SP 2015
PPTX
HipHop Virtual Machine
PDF
Daniel Sloof: Magento on HHVM
PDF
DrupalCamp SP 2015 - Escalando PHP e Drupal- Performance ao infinito e além!
PDF
Escalando php e drupal- performance ao infinito e além! - Drupal camp sp 2015
PDF
Escalando php e drupal- performance ao infinito e além! - DrupalCamp SP 2015
PDF
HHVM - Entre Nesse Ritmo - TDC Florianopolis 2014
ODP
IPC 2013 - High Performance PHP with HipHop
PPTX
Magento on HHVM. Daniel Sloof
PDF
Way of the Future
PDF
Scaling with Symfony - PHP UK
PPTX
Hacking hhvm
PDF
HipHop VM: overclocking Symfony
PPTX
From PHP to Hack as a Stack and Back
PDF
What the HACK is HHVM?
PPTX
2016 03 15_biological_databases_part4
PDF
Framework and Application Benchmarking
Performance Comparison of PHP 5.6 vs. 7.0 vs HHVM
Hhvm and wordpress
Escalando PHP e Drupal: performance ao infinito e além! - DrupalCamp SP 2015
HipHop Virtual Machine
Daniel Sloof: Magento on HHVM
DrupalCamp SP 2015 - Escalando PHP e Drupal- Performance ao infinito e além!
Escalando php e drupal- performance ao infinito e além! - Drupal camp sp 2015
Escalando php e drupal- performance ao infinito e além! - DrupalCamp SP 2015
HHVM - Entre Nesse Ritmo - TDC Florianopolis 2014
IPC 2013 - High Performance PHP with HipHop
Magento on HHVM. Daniel Sloof
Way of the Future
Scaling with Symfony - PHP UK
Hacking hhvm
HipHop VM: overclocking Symfony
From PHP to Hack as a Stack and Back
What the HACK is HHVM?
2016 03 15_biological_databases_part4
Framework and Application Benchmarking
Ad

More from Le Thanh Sang (6)

PDF
Composer manager module for Drupal
PDF
Composer
PDF
Drupal Big Data
PDF
Optimize drupal
KEY
Kinh nghiệm triển khai Drupal
PDF
Cam nang
Composer manager module for Drupal
Composer
Drupal Big Data
Optimize drupal
Kinh nghiệm triển khai Drupal
Cam nang

Recently uploaded (20)

PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Nekopoi APK 2025 free lastest update
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
How Creative Agencies Leverage Project Management Software.pdf
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
top salesforce developer skills in 2025.pdf
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
AI in Product Development-omnex systems
PPTX
Essential Infomation Tech presentation.pptx
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Upgrade and Innovation Strategies for SAP ERP Customers
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
How to Choose the Right IT Partner for Your Business in Malaysia
CHAPTER 2 - PM Management and IT Context
Nekopoi APK 2025 free lastest update
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
wealthsignaloriginal-com-DS-text-... (1).pdf
Navsoft: AI-Powered Business Solutions & Custom Software Development
How Creative Agencies Leverage Project Management Software.pdf
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Odoo POS Development Services by CandidRoot Solutions
How to Migrate SBCGlobal Email to Yahoo Easily
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Softaken Excel to vCard Converter Software.pdf
top salesforce developer skills in 2025.pdf
Which alternative to Crystal Reports is best for small or large businesses.pdf
AI in Product Development-omnex systems
Essential Infomation Tech presentation.pptx

Drupal hhvm benchmark

  • 1. Live benchmark PHP and HHVM Some framework: Drupal 7, Drupal 8 Sang Le Thanh Senior Developer at GO1 DO: https://www.drupal.org/u/shellingfox Email: me@sanglt.com BBM: 2BF4C8AE
  • 2. Can we use HHVM in production? - Should we use HHVM now (How many percent test pass) - The performance with regular PHP
  • 3. We will compare HHVM with • PHP 5.4.38 • PHP 5.5.22 • PHP 5.6.6 Hardware + OS: Ubuntu 14.04.2 LTS – All PHP build from source use phpbrew with +default +dbs +gd +fpm variant 2 vCPU, 2GB RAM
  • 4. Drupal 8 beta 9 0 50 100 150 200 250 300 350 400 Time Memory Failures PHPUnit test PHP 5.4.38 PHP 5.5.22 PHP 5.6.6 HHVM 3.6.1 Source: https://gist.github.com/sanglt/8a67842ca820d3d3426f
  • 5. Drupal 7.36 benchmark: Page cache on, apc + opcode off 0 200 400 600 800 1000 1200 n100 c1 n1000 c1 n1000 c10 n1000 c100 n10000 c100 Drupal 7.36 benchmark – higher is better PHP 5.4.38 PHP 5.5.22 PHP 5.6.6 HHVM 3.6.1
  • 6. Drupal 8beta9 benchmark: Page cache on, apc + opcode off 0 100 200 300 400 500 600 n100 c1 n1000 c1 n1000 c10 n1000 c100 n10000 c100 Drupal 8beta9 benchmark – higher is better PHP 5.4.38 PHP 5.5.22 PHP 5.6.6 HHVM 3.6.1
  • 7. Drupal 7.36 benchmark: Page cache on, apc (3.1.13) + opcode on 0 200 400 600 800 1000 1200 n100 c1 n1000 c1 n1000 c10 n1000 c100 n10000 c100 Drupal 7.36 benchmark – higher is better PHP 5.4.38 PHP 5.5.22 PHP 5.6.6 HHVM 3.6.1
  • 8. Drupal 8b9 benchmark: Page cache on, apc (3.1.13) + opcode on 0 100 200 300 400 500 600 700 n100 c1 n1000 c1 n1000 c10 n1000 c100 n10000 c100 Drupal 8beta9 benchmark – higher is better PHP 5.4.38 PHP 5.5.22 PHP 5.6.6 HHVM 3.6.1
  • 9. Recommends: • Drupal 7: HHVM if you can’t. PHP 5.4 + APC • Drupal 8: HHVM if you cant’. PHP 5.5 + Opcode
  • 10. References • http://www.hhvm.com • http://hhvm.com/blog/8939/etsys-transition-to-hhvm • http://httpd.apache.org/docs/2.4/programs/ab.html • https://github.com/phpbrew/phpbrew
  • 11. Question & Answer Sang Le Thanh Senior Developer at GO1 Email: me@sanglt.com BBM: 2BF4C8AE