[wp-trac] [WordPress Trac] #32769: Customizer Menus: Setting sanitization innefficiencies resulting in severe performance slowdowns
WordPress Trac
noreply at wordpress.org
Wed Jun 24 06:02:03 UTC 2015
#32769: Customizer Menus: Setting sanitization innefficiencies resulting in severe
performance slowdowns
--------------------------+--------------------------
Reporter: westonruter | Owner: westonruter
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 4.3
Component: Customize | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: performance
--------------------------+--------------------------
Comment (by celloexpressions):
I don't think we could get away with lazy-loading settings data as needed
(assuming that would be an ajax call). With controls/the UI side it's
usually easily handled within the time it takes the animation to complete,
and scales seemingly linearly with the number of menu items as the
controls are rendered from the template and inserted into the DOM. An ajax
call would be much slower, so I'd want to see if we can find a good way to
only do that if a menu is more than say 50 items.
But 50k calls to the same function definitely sound wrong, and would
probably be the better approach to fixing.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32769#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list