You are here

Benchmarking Drupal 8 against Drupal 7

I've repeated some benchmark tests I did back in July last year to see what difference a year has made.

Last Years Testing Environment This years testing environment

Testing Environment

  • Dell Latitude E6520 Notebook
  • 8Gb RAM
  • Windows 7
  • WAMP Server 2.2
  • PHP 5.3.13
  • MySQL 5.5.24
  • Apache 2.2.22

Testing Environment

  • Dell Latitude E6520 Notebook
  • 8Gb RAM
  • Windows 7
  • WAMP Server 2.5
  • PHP 5.5.12
  • MySQL 5.6.17
  • Apache 2.4.9

I've installed fresh version of Drupal 8 (latest pulled from git) and Drupal 7.23 with the minimal profile selected for both. The only additional module selected is Devel to collect benchmarking information. No caching.

Notes Drupal 7.23 (11/07/2013) Drupal 7.28 (04/07/2014) Drupal 8.x-dev (11/07/2013) Drupal 8.x-dev (04/07/2014)
Open homepage (not logged in) 21q/3.72ms. PE 137.39ms 21q/6ms. PE 206ms 49q / 7.75ms. PE 320.11ms 57q/18ms. PE 1031ms
Open homepage (logged in as User 1) 20q/3.39ms. PE 106.92ms 20q/5ms. PE 170ms 58q / 7.53ms. PE 324.25ms 59/20ms. PE 965ms
Add one piece of content* 51q/12.7ms. PE194.90ms 54q/71ms. PE 306ms 94q / 53.28ms. PE 713ms 105q/68ms. PE 1432ms
Add one piece of content** 52q/15.79ms. PE 206.79 55q/27ms. PE 229ms 96q / 57.89ms. PE 870.28ms 111q/61ms. PE 1482ms

*Basic content type with a title and body and one paragraph of text.

**Content type as above but with one additional numeric field set to integer. Field UI and Number modules turned on.


Unfortunately it seems as though things have gotten worse rather than better. The difference between 7.23 and 7.28 seems negligble, but the comparison between last years 8.x-dev and this years is quite worrying. That being said there has been a lot of reconfiguration in the underlying structure and processes of Drupal 8 as the various initiatives have come online and the integration between them completes.

Putting performance to the side at the moment, the improvements to D8 are great and will place Drupal firmly as a contender in the Enterprise arena. My only worry is the server required to run it will push it away from its roots in the smaller site.