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

WordPress Trac noreply at wordpress.org
Fri Dec 13 21:36: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 rmccue):

 Replying to [comment:3 joemcgill]:
 > Curious, since you've already debugged this issue if you found any
 workarounds in the mean time?

 For the customer this affects, we worked around it at a higher level -
 i.e. we avoided calling `get_option()` for the missing options in places
 where we have a high volume of calls.

 The overall increase in cache traffic is observable across multiple
 customers who upgraded, but we also have this mitigated to some extent by
 caching misses in a different caching drop-in that we use on other
 customers. (That alternative caching drop-in knows when a cache miss is
 invalidated by a cache set elsewhere, so it's safer to do so.)

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


More information about the wp-trac mailing list