Performance

Overview

Performance of Page Generator Pro’s generation routines depends on several factors including, but not limited to:

  • Server Configuration
  • Plugins Activated
  • Dynamic Elements and Dynamic Featured Image
  • Spintax
  • Number of Keywords and Terms
  • Generate System (Browser, Server, CLI)

Server Configuration

For good performance, ensure your hosting meets the minimum Hosting Requirements.

For best performance, ensure your hosting is a dedicated VPS running:

  • WordPress 5.4+
  • nginx 1.14.0+
  • PHP 7.2+
  • MySQL 5.7.30+
  • 4 vCPUs
  • 8GB RAM
  • WP-CLI 2.4.0

Plugins Activated

For each generated Page, WordPress effectively loads its Theme and active Plugins.  However, many of these Plugins don’t need to be active for the purpose of generation.

Enabling the Performance Addon will safely deactivate unnecessary Plugins whilst generation takes place.  This does not impact site visitors or other WordPress Users; activated Plugins will load for them.

When using any Page Generator Pro Dynamic Elements, or the Featured Image functionality, and the element/image is configured to request data from a third party source (such as Wikipedia, Yelp, Youtube, Pexels or Pixabay), the Generation process may take a few seconds or longer for each Page.  This is because Page Generator Pro converts the dynamic output into actual HTML output, querying the third party services to insert the actual contents into each Page.

This ensures that the resulting Page does not dynamically query these third party services every time your site visitor views the generated Page. Doing so would result in the page taking a long time to load for every single visitor (and, in turn, affect your rankings on SERPs).

By taking a one time performance hit on slower page generation, the performance of your generated Pages for SERPs and all site visitors is dramatically increased, ensuring better rankings.

Example Performance: Basic Content Group

This is purely a guide, and not to be used as a benchmark or comparison.  Your performance will vary, due to a variety of factors including server performance, connection speed, Plugins installed, number of third party dynamic elements used, spintax etc.  Whilst we are happy to investigate edge cases, please don’t use the figures quoted here as a comparison or expectation, unless you are precisely copying our configuration with no deviation on activated Plugins, environment

Server Configuration

Item Specification
Hosting Provider DigitalOcean
vCPUs 4
Memory 8GB
SSD 20GB
Web Server nginx 1.14.0 (Ubuntu 18.04.4 LTS)
PHP 7.2.24
MySQL 5.6
WordPress 5.4.1
Active Plugins Classic Editor
Page Generator Pro
Yoast SEO
Active Theme 2019 Theme

Keyword Configuration

A total of 57,352 Pages will be generated.

Keyword Terms
{location} All Cities, Regions and Counties in TN, USA (7,169), generated from the Generate Locations functionality
{service} Bathroom Design and Planning
Bathroom Installations
Bathroom Remodelling
Bathroom Plumbing
Bathroom Shower Installation
Bathroom Bath Installation
Bathroom Flooring Installation
Bathroom Underfloor Heating Installation

Content Group Configuration

Item Value
Title {service} in {location(city_name)}, {location(county_name)}, {location(region_name)}
Content See https://gist.githubusercontent.com/n7studios/8e8fe6074d325b559ec4962a055b102d/raw/b4f81e7060d06ade8e7c51def60c83a61dc3891a/page-generator-pro-tutorial-content.htm
Permalink {service}-{location(city_name)}-{location(county_name)}-{location(region_name)}
Post Type Page
Status Publish
Date Now
Method All
Spin Content No
Overwrite Yes, if existing Page generated by this Group
Overwrite Sections (enable all choices)

Results: Generate via Browser

Page Generator Pro: Performance: Example 1

Metric Value
Average Time per Generated Page 0.04 seconds
Total Time to Generate all Pages 2,294 seconds (approx. 38 minutes)
Total Pages Generated 57,352
Memory Usage 6MB
Peak Memory Usage 6MB

Results: Generate via WP-CLI

Page Generator Pro: Performance: Example 1

Metric Value
Average Time per Generated Page 0.035 seconds
Total Time to Generate all Pages 2007 seconds (approx. 34 minutes)
Total Pages Generated 57,352
Memory Usage 38MB
Peak Memory Usage 39MB

Example Performance: Content Group with Spintax

Adding to the Basic Content Group example above, the following changes are made:

Content Group Configuration

Item Value
Content See https://gist.githubusercontent.com/n7studios/8e8fe6074d325b559ec4962a055b102d/raw/9b71d9976b67b602f00787d36d1dfbcb7bfb26fe/page-generator-pro-tutorial-content-edited-2.htm

Results: Generate via Browser

Page Generator Pro: Performance: Example 2: Browser

Metric Value
Average Time per Generated Page 0.04 seconds
Total Time to Generate all Pages 2,294 seconds (approx. 38 minutes)
Total Pages Generated 57,352
Memory Usage 6MB
Peak Memory Usage 6MB

Results: Generate via WP-CLI

Page Generator Pro: Performance: Example 2: CLI

Metric Value
Average Time per Generated Page 0.035 seconds
Total Time to Generate all Pages 2007 seconds (approx. 34 minutes)
Total Pages Generated 57,352
Memory Usage 38MB
Peak Memory Usage 39MB

Example Performance: Content Group with Spintax and Dynamic Elements

Adding to the Spintax Content Group example above, the following changes are made:

Content Group Configuration

Item Value
Content Added Pixabay Image and Google Map. See https://gist.githubusercontent.com/n7studios/8e8fe6074d325b559ec4962a055b102d/raw/9b71d9976b67b602f00787d36d1dfbcb7bfb26fe/page-generator-pro-tutorial-content-edited-3.htm

Results: Generate via Browser

Page Generator Pro: Performance: Example 3: Browser

Metric Value
Average Time per Generated Page 1.91 seconds
Total Time to Generate all Pages 109,542 seconds (approx. 30.5 hours)
Total Pages Generated 57,352
Memory Usage 6MB
Peak Memory Usage 6MB
This is expected performance, as the Plugin has to query Pixabay for an image based on the {service}, download that image, store it in the Media Library, optimize it and output it to the content. You could use your own library of images, storing them in the Media Library and then use the Media Library Dynamic Element for faster performance.

Results: Generate via WP-CLI

Page Generator Pro: Performance: Example 3: CLI

Metric Value
Average Time per Generated Page 1.40 seconds
Total Time to Generate all Pages 74,557 seconds (approx. 21 hours)
Total Pages Generated 57,352
Memory Usage 38MB
Peak Memory Usage 40MB
This is expected performance, as the Plugin has to query Pixabay for an image based on the {service}, download that image, store it in the Media Library, optimize it and output it to the content. You could use your own library of images, storing them in the Media Library and then use the Media Library Dynamic Element for faster performance.

Example Performance: Content Group using Spintax, Elementor Page Builder

Adding to the Spintax Content Group example above, the following changes are made:

Content Group Configuration

Item Value
Plugins Installed and activated Elementor Page Builder 2.9.8
Content See https://gist.githubusercontent.com/n7studios/8e8fe6074d325b559ec4962a055b102d/raw/9b71d9976b67b602f00787d36d1dfbcb7bfb26fe/page-generator-pro-tutorial-content-edited-2.htm

Results: Generate via Browser

Page Generator Pro: Performance: Example 4: Browser

Metric Value
Average Time per Generated Page 0.05 seconds
Total Time to Generate all Pages 2,867 seconds (approx. 48 minutes)
Total Pages Generated 57,352
Memory Usage 7MB
Peak Memory Usage 7MB

Results: Generate via WP-CLI

Page Generator Pro: Performance: Example 4: CLI

Metric Value
Average Time per Generated Page 0.04 seconds
Total Time to Generate all Pages 2,294 seconds (approx. 38 minutes)
Total Pages Generated 57,352
Memory Usage 41MB
Peak Memory Usage 43MB

Example Performance: Content Group using Spintax, Elementor Page Builder with Performance Addon

Adding to the Spintax Content Group example above, the following changes are made:

Content Group Configuration

Item Value
Page Generator Pro > Settings > Generate Use Performance Addon = Yes
Content See https://gist.githubusercontent.com/n7studios/8e8fe6074d325b559ec4962a055b102d/raw/9b71d9976b67b602f00787d36d1dfbcb7bfb26fe/page-generator-pro-tutorial-content-edited-2.htm

Results: Generate via Browser

Page Generator Pro: Performance: Example 5: Browser

Metric Value
Average Time per Generated Page 0.04 seconds
Total Time to Generate all Pages 2,294 seconds (approx. 38 minutes)
Total Pages Generated 57,352
Memory Usage 5MB
Peak Memory Usage 5MB

Results: Generate via WP-CLI

Page Generator Pro: Performance: Example 5: CLI

Metric Value
Average Time per Generated Page 0.04 seconds
Total Time to Generate all Pages 2,294 seconds (approx. 38 minutes)
Total Pages Generated 57,352
Memory Usage 41MB
Peak Memory Usage 43MB
Given WP-CLI’s optimizations, the Performance Addon has little, if any, impact in reduction of generation times via CLI.It does, however, improve generation times via the browser.