[wp-trac] [WordPress Trac] #62692: Performance regression for get_option in 6.4

WordPress Trac noreply at wordpress.org
Fri Dec 20 17:00:10 UTC 2024


#62692: Performance regression for get_option in 6.4
--------------------------------------+------------------------------
 Reporter:  rmccue                    |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Cache API                 |     Version:  6.4
 Severity:  major                     |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  performance
--------------------------------------+------------------------------

Comment (by joemcgill):

 For the sake of comparison, I've opened [https://github.com/WordPress
 /wordpress-develop/pull/8030 PR #8030] to implement @siliconforks
 suggestion. This will still avoid calls to the notoptions cache if the
 value was already autoloaded, but will load check for notoptions prior to
 checking the object cache.

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


More information about the wp-trac mailing list