[wp-trac] [WordPress Trac] #55005: Improve PHP performance for block.json files

WordPress Trac noreply at wordpress.org
Wed Sep 21 06:34:08 UTC 2022


#55005: Improve PHP performance for block.json files
-------------------------------------------------+-------------------------
 Reporter:  aristath                             |       Owner:
                                                 |  hellofromTonya
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Editor                               |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing needs-unit-  |     Focuses:
  tests                                          |  performance
-------------------------------------------------+-------------------------

Comment (by aristath):

 The issues mentioned above were caused by an outdated package, and it has
 been fixed in the PR already. Tests now pass properly.

 Since this is not strictly an enhancement but more of a performance
 bugfix, can we reconsider adding it to v6.1? It saves a lot of calls to
 get & decode JSON files, and in my tests with Xdebug profiling it saves
 ~100ms on each pageload.

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


More information about the wp-trac mailing list