[wp-trac] [WordPress Trac] #58291: Speed up WordPress hooks addition/removal by ~20%

WordPress Trac noreply at wordpress.org
Fri May 12 11:31:42 UTC 2023


#58291: Speed up WordPress hooks addition/removal by ~20%
--------------------------+------------------------------
 Reporter:  bor0          |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Plugins       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  performance
--------------------------+------------------------------

Comment (by knutsp):

 Replying to [comment:2 SergeyBiryukov]:
 > If a polyfill is needed for PHP < 7.2, this might have to wait until the
 minimum required version is bumped in #57345, otherwise it may negatively
 affect performance on those older versions. See comment:12:ticket:58206
 and comment:24:ticket:58012 for similar recent discussions.

 That was PHP < 8. For < 7.2 it's only about 10%. Then 90%, increasing week
 by week, may get better performance.

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


More information about the wp-trac mailing list