[wp-trac] [WordPress Trac] #64194: 6.9 Fetch priority can add 10-20 seconds in page load time

WordPress Trac noreply at wordpress.org
Tue Nov 4 19:52:24 UTC 2025


#64194: 6.9 Fetch priority can add 10-20 seconds in page load time
----------------------------+--------------------------
 Reporter:  ciobanucatalin  |       Owner:  westonruter
     Type:  defect (bug)    |      Status:  reviewing
 Priority:  normal          |   Milestone:  6.9
Component:  General         |     Version:  trunk
 Severity:  critical        |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+--------------------------

Comment (by b1ink0):

 After doing some testing, the only case where passing by reference helps
 is in the diamond dependency pattern like this:
 {{{
    A (high priority)
    ├─ B (auto)
    │  └─ D (low)
    └─ C (auto)
        └─ D (low) <-- same D!
 }}}
 This reduces some function calls but doesn't significantly affect page
 load speed, as it doesn't take much time to process. I think there could
 be other factors affecting reporter's setup.
 I also tested with a large number of scripts with multi-level dependencies
 but didn’t see any performance improvement.
 I believe this is a valid bug there are redundant checks but not
 significant enough to impact typical sites with a normal number of
 scripts.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64194#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list