TYPO3 HHVM speed comparison
The performance of TYPO3 can benefit a lot when using HHVM instead of a conventional PHP runtime. The following charts show a comparison of different settings under different load.
Test setup
- MacBook Pro i7 2.7 GHz, SSD
- Virtualbox on OSX Mavericks
- TYPO3 mounted via NFS
- Debian Wheezy
- Nginx
Here you’ll find setup instructions
Chart Explanation
- Grey bar: PHP-FPM
- Blue bar: HHVM
- C1 = 1 concurrent user, C10 = 10 concurrent users, C100 = 100 concurrent users
- 6.1 = TYPO3 6.1.7, 6.2 = TYPO3 6.2.0
- NC = no cache
Chart 1: Transactions / 15 seconds
As you can see, HHVM performs up to 9x better than PHP-FPM. There seems to be a major performance drop between TYPO3 6.2 and 6.1. I’ll have to look further into that…
Chart 2: Average response time in seconds
There is a major difference regarding the response time: With HHVM (10 concurrent connections, TYPO3 6.1) you have an average response time of 90ms, while with PHP-FPM the average response time is 730ms. That’s about 8x faster!