PHP 7 The way of future

According to tests by each respective team, HHVM and PHP 7 have been neck and neck when it comes to the number of raw, uncached hits they’re able to handle. We’re seeing some really impressive numbers out of PHP 7, however.

Now, while I don’t have anything to announce as far as PHP 7 availability goes — it hasn’t even been officially released yet — you can bet that we’re working hard to bring a stable, performant implementation to our customers.

To wet your whistle, let’s take a look at the raw data from a siege test — 25 concurrent users over 5 minutes across 10 randomly selected URLs — run against a basic WordPress (4.3.1) install on our Mercury Vagrant

As you can see, the number of raw hits that could be handled under HHVM (1.2x faster) was one-upped by the PHP 7 (2.6x faster) implementation. It gets even more exciting when you look at a similar test — 25 concurrent users, 5 minutes, 10 randomly selected URLs — for bbPress…

WordPress (4.3.1) + bbPress (2.5.8)

PHP 5.5

Transactions:              680 hits
Availability:              100.00 %
Elapsed time:              299.29 secs
Data transferred:          3.54 MB
Response time:             10.29 secs
Transaction rate:          2.27 trans/sec
Throughput:                0.01 MB/sec
Concurrency:               23.39
Successful transactions:   680
Failed transactions:       0
Longest transaction:       12.39
Shortest transaction:      1.51


Transactions:              3194 hits
Availability:              100.00 %
Elapsed time:              299.41 secs
Data transferred:          12.55 MB
Response time:             1.84 secs
Transaction rate:          10.67 trans/sec
Throughput:                0.04 MB/sec
Concurrency:               19.67
Successful transactions:   3194
Failed transactions:       0
Longest transaction:       15.37
Shortest transaction:      1.12


Transactions:              4521 hits
Availability:              100.00 %
Elapsed time:              299.28 secs
Data transferred:          23.52 MB
Response time:             1.15 secs
Transaction rate:          15.11 trans/sec
Throughput:                0.08 MB/sec
Concurrency:               17.38
Successful transactions:   4521
Failed transactions:       0
Longest transaction:       2.21
Shortest transaction:      0.60




Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post

CPSraxaul website

Next Post

4 Ways to Prevent Image Theft in WordPress

Related Posts