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

WordPress Trac noreply at wordpress.org
Tue Jul 11 23:05:57 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
--------------------------+--------------------------

Comment (by spacedmonkey):

 Thanks for doing the benchmarking here @flixos90 .

 I beleive the biggest performance issue here is this
 [https://github.com/WordPress/wordpress-
 develop/blob/effea6699a49e6c169da67200f7a1ac1d720c810/src/wp-includes
 /class-wp-duotone.php#L1025 line]. Parsing and merging all this data, when
 it was not doing so before. I expected to see better results than 1%. I
 will do some profiling in the morning and get back. My PR just defers this
 later / when it is needed. I saw REST API calls being much faster for
 example.

 it worth noting, you need to test on a classic theme without a theme.json,
 with a theme.json and a block theme.

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


More information about the wp-trac mailing list