[wp-trac] [WordPress Trac] #58376: Improve performance of the `_wp_array_get` function

WordPress Trac noreply at wordpress.org
Tue May 23 17:04:03 UTC 2023


#58376: Improve performance of the `_wp_array_get` function
-------------------------+--------------------------
 Reporter:  aristath     |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  high         |   Milestone:  6.3
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  performance
-------------------------+--------------------------

Comment (by flixos90):

 I also conducted two benchmarks, one for TT3 (block theme) and one for TT1
 (classic theme). Results look positive indeed, it's a small enhancement,
 but it shows consistently, **improving overall WordPress execution time by
 ~1%**.

 * Block theme `wp-total` improved from 158.34ms to 156.49ms (1.17%)
 * Classic theme `wp-total` improved from 58.42ms to 57.55ms (1.49%)

 Here are the full results: https://docs.google.com/spreadsheets/d
 /1nn12aoFpgqF6F8o20hLExhnanL_-dShAkLjaItKsxcI/edit

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


More information about the wp-trac mailing list