[wp-trac] [WordPress Trac] #58673: WordPress database error when installing PHPUnit tests

WordPress Trac noreply at wordpress.org
Tue Jul 11 19:33:14 UTC 2023


#58673: WordPress database error when installing PHPUnit tests
--------------------------+--------------------------
 Reporter:  Chouby        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  6.3
Component:  Editor        |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  performance
--------------------------+--------------------------
Changes (by joemcgill):

 * priority:  normal => high
 * focuses:   => performance


Comment:

 @spacedmonkey noticed that this same
 `WP_Duotone::set_global_styles_presets` method being called on every
 request is causing a large unnecessary performance regression in trunk
 (7–9% of total server response time in my profiling).

 While ensuring this isn't run during `wp_installing()` would be sufficient
 to fix this issue, it would be nice to fix the performance regression at
 the same time, by only calling that method when it's needed.

 I'm adding the performance focus and increasing the priority on this to
 "high" so we can investigate and resolve this prior to RC1.
 @SergeyBiryukov if you prefer to commit your patch in the mean time, we
 can open a new ticket for the performance regression.

 cc: @isabel_brison and @onemaggie, since you were both involved in the
 original commit that introduced this functionality.

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


More information about the wp-trac mailing list