PHP 5.6 vs. PHP 7.0 WordPress Speed Test

Will PHP 7.0 really speed up your Wordpress site?

2
604
PHP 7.0

I use GoDaddy as my primary host for this site, and they finally released PHP 7.0 as an option on their cPanel hosting plans. Bloggers all over the internet have been saying just how much of an improvement in speed and performance 7.0 can offer WordPress users, so let’s find out!

If you’re looking to find out how to enable PHP 7.0 on your cPanel hosting account, check out this article here.

To get a baseline in performance I ran two speed tests from different vendors. The first from GT Metrix and the second from Pingdom. These are the two most popular and free website speed testing tools around. First up is GT Metrix:

GT Metrix – PHP 5.6

PHP 5.6 Test

GT Metrix reported a full site load speed of 2.6 seconds under PHP 5.6. Because the only server available for free testing is located in Canada, your tests on their site will most likely be a little higher if you’re in the United States.

GT Metrix – PHP 7.0

PHP 7.0 GT Test

Now with PHP 7.0 enabled and no other changes I am seeing 900ms, or almost a full second shaved off! That is an amazing result for less than 5 minutes of work and literally zero added cost.

Pingdom – PHP 5.6

PHP 5.6 Pingdom Test

The much lower load time of 1.85 seconds on PHP 5.6 through Pingdom is most likely because of the server location. As I mentioned above, Vancouver is roughly 1,600 miles away compared to the 735 miles to San Jose (pingdoms test server I chose).

Pingdom – PHP 7.0

PHP 7.0 Pingdom Test

Although much less impressive, an almost 200ms decrease in load speed is fantastic. In an age where Google is now using site speed as an SEO metric, the faster you can get your site to load the better.

If you are looking for an easy to implement and free solution to speed up your WordPress site, definitely look into an upgrade if available.

*Important Note* At the time of this writing (and during the tests) I am not using a caching plug-in or CDN. I expect the total load times to go down even more once I’ve worked a bit more on optimization and implementing one of the mention solutions.

 

2 COMMENTS

  1. Really great stuff Bryan! Switched over to PHP 7.0 on my website http://geekswag.net and went from a 5.9 second load time to 3.6 seconds – just from that. You have excellent material here. Can’t wait to see how I can make it even faster with your resources and recommendations.
    Thanks a ton!

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.