Project

General

Profile

Bug #10701

Site creation performance

Added by Boone Gorges 5 months ago. Updated 4 months ago.

Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
Blogs (BuddyPress)
Target version:
Start date:
2018-11-14
Due date:
% Done:

0%

Estimated time:

Description

Performance during site creation is abysmally slow. This is largely because of database i/o: large numbers of tables need to be created and populated, and WordPress disables most object caching during the site creation process (wp_installing(true); see get_option()).

I'd like to do some experiments to mitigate this problem. For one thing, I'd like to ensure that wp_installing() is flipped back to false at the end of the core installation process. I don't believe there's any reason to have it turned on while we're cloning from the site template.

History

#1 Updated by Boone Gorges 5 months ago

  • Assignee set to Boone Gorges

I've verified the wp_installing() change - it cuts the number of queries in half - and pushed it to production https://github.com/cuny-academic-commons/cac-site-templates/commit/00ab1a1e8adb716a2b20ab01f6a1e2a7b3316f43 https://github.com/cuny-academic-commons/cac/commit/80fbc6f79a057fd05630dce3aedb4953c10a801a I'll leave this ticket open to look for other obvious improvements.

#2 Updated by Boone Gorges 5 months ago

  • Target version changed from 1.14.1 to 1.14.2

#3 Updated by Boone Gorges 4 months ago

  • Status changed from New to Resolved

I've examined this and I'm not sure there's much more I can do at the moment.

Also available in: Atom PDF