[wp-trac] [WordPress Trac] #55674: Improve performance Search REST API

WordPress Trac noreply at wordpress.org
Fri May 27 11:23:08 UTC 2022

#55674: Improve performance Search REST API
 Reporter:  furi3r                               |       Owner:
                                                 |  spacedmonkey
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.1
Component:  REST API                             |     Version:  4.7
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests commit      |     Focuses:
  early                                          |  performance

Comment (by furi3r):

 See attachment, before and after applying the patch, we save one query per
 result, and the time is considerably reduced.
 For a 6 items result:
 27 VS 22 queries.
 0.0171s VS 0.0146s

Ticket URL: <https://core.trac.wordpress.org/ticket/55674#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list