[wp-trac] [WordPress Trac] #58235: Enhance hero image loading performance with Fetchpriority

WordPress Trac noreply at wordpress.org
Wed Jun 21 09:37:45 UTC 2023


#58235: Enhance hero image loading performance with Fetchpriority
-------------------------+--------------------------
 Reporter:  flixos90     |       Owner:  flixos90
     Type:  enhancement  |      Status:  assigned
 Priority:  high         |   Milestone:  6.3
Component:  Media        |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  performance
-------------------------+--------------------------

Comment (by spacedmonkey):

 I have done profiling and benchmarking on this PR.

 Benchmark - TT theme - 500 runs - Theme test data - gallery post.

 || || Trunk - 55962 || PR - a2c977f ||
 || Response Time (median) || 56.29 || 55.96 ||
 || wp-load-alloptions-query (median) || 0.62 || 0.62 ||
 || wp-before-template (median) || 18.56 || 18.43 ||
 || wp-before-template-db-queries (median) || 1.35 || 1.35 ||
 || wp-template (median) || 30.46 || 30.31 ||
 || wp-total (median) || 49.17 || 48.93 ||
 || wp-template-db-queries (median) || 5.58 || 5.53 ||

 [https://blackfire.io/profiles/compare/527eac23-03db-
 447a-b621-d956e166e6cd/graph Here] are comparison using blackfire.

 This PR is showing a net benefit to php performance. Which is a nice side
 effect.

 @thekt12 @flixos90

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


More information about the wp-trac mailing list