Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
render system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
19 Mar 2025 at 08:57 UTC
Updated:
20 May 2025 at 22:09 UTC
Jump to comment: Most recent
Comments
Comment #3
catchDoesn't show an improvement in isolation, but will after #3512762: Optimize placeholder retrieval from cache lands.
We can mutliple cache get the placeholders from all cached placeholders I think, and also implement recursion in case those placeholders also return placeholders.
Comment #4
catchImplemented the recursion. We don't have double-nested, cached, placeholders in core or at least not that I can think of, or that are covered by performance tests, but this does show the improvement for the single-nested cached placeholders in the navigation bar - e.g. shortcut and user menu placeholders are now one multiple get instead of two single
gets.
Comment #5
catchComment #6
catchRebased on #3512766: Optimize redirect chain retrieval in VariationCache and #3512762: Optimize placeholder retrieval from cache.
Still removes one cache get in navigation performance tests, which is the shortcut and user menu placeholders being fetched from cache together.
Comment #7
catchBack to green after #3512766: Optimize redirect chain retrieval in VariationCache
Comment #8
smustgrave commentedGoing to rely on the test performance for this one and fact it went down. Don't see anything glaring so going to go on a limb.
Comment #10
longwaveComment #13
longwaveAlthough there aren't any specific tests I don't see why this would cause any problems, let's ship it and hopefully improve performance.
Committed b323820 and pushed to 11.x. Thanks!