Published
Updated

The success of WordPress is traditionally attributed to how easy it is to use, both from an end-user point of view and from a website developer’s point of view. Many feel empowered by WordPress as they are able to produce good-looking and functional sites with relatively little work. The flexibility of WordPress means it does not enforce quality, and WordPress sites using a lot of different plugins traditionally suffer from security and performance issues.

Because of this the web is full of all kinds of articles on how to improve WordPress speed performance and security. Unfortunately most of those articles are just listings like “do these 10 things to improve your WordPress site” and they categorically lack any evidence of what effect the suggested actions have. Some of the advice out there is even plain wrong, and does not yield the desired result at all.

At Seravo we want to help the entire WordPress community evolve. We’ve debunked WordPress security myths by giving talks about WordPress security at many WordPress Meetups and WordCamps. Now it is time to dig deeper into performance and speed.

Xdebug and Webgrind

At WordCamp Europe 2017 I delivered a talk about WordPress speed performance, hoping to spread good evidence based on practices among WordPress plugin and theme developers.

For PHP, the programming language used in WordPress, there exists an excellent tool called Xdebug. It profiles the execution flow of PHP and greatly helps to find performance bottlenecks.

Xdebug is easy to install following the instructions in the presentation below, or if you are using the Seravo WP Vagrant image, Xdebug and Webgrind for visualizations are already there ready to use, just see seravo.com/docs/development/xdebug/ to start using it.

Xdebug works by instrumenting every single PHP function call and by logging what function calls what other functions and how long each function takes to execute. This data is stored in a text file called cachegrind and can be opened in any compatible program. Our preference is Webgrind, as it works in the browser and suites web developers well.

For more details, see the presentation slides below or the whole presentation on WordPress TV (waiting to be published).

Looking for professional hosting?

When you want to rest easy at night, it is essential that you have chosen hosting solution whose expertise you can trust. Seravo is more than a hosting company – we also keep your site updated, safe from attacks and can advice you on any development and performance issues that might concern you.

Read more about our hosting plans

Leave a comment

Read more

In category: Seravo

Price list change March 1st 2021

WP Pro and WP Business plans have been with the same price for 5 years. It is time to make a small adjustment. From 1.3.2021 the prices for new orders will be 35€/month for WP Pro and 55€/month for WP Business.

29.1.2021

Seravo supports PHP 8.0 already

Seravo has sponsored making PHP 8.0 available for all users of Debian and Ubuntu. Seravo was probably the first hosting provider to support PHP 8.0 for WordPress.

15.12.2020

WordPress 5.6 is out

New WordPress 5.6 published. Support for PHP 8.0 and many updates to REST API

9.12.2020

WordPress.Org Calls For PHP 8.0 Testers: Seravo Answers

On October 6th 2020, the WordPress Core team put out a call for testers. Specifically, there was a requirement for […]

28.10.2020

New Tools Available for Seravo’s Customers

The Seravo WordPress Plugin checks website performance, disk use, change monitoring, cache optimization, and much more.

8.10.2020

Webinar: Use Xdebug to profile PHP

During the COVID-19 outbreak in spring 2020, we cancelled all of our on-site trainings and replaced them with free webinars […]

5.8.2020