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

WordPress Trac noreply at wordpress.org
Thu Jun 16 17:45:51 UTC 2022


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

 * keywords:  has-patch => has-patch needs-testing has-unit-tests
 * owner:  (none) => hellofromTonya
 * status:  new => assigned
 * component:  General => Editor
 * milestone:  Awaiting Review => 6.1


Comment:

 Moving this performance enhancement into 6.1 and self-assigning. It'll
 need a lot of testing in different environments, unit tests (i.e. a review
 to determine if there's coverage for the changes), and performance
 benchmarking.

 I agree that in-memory caching should yield performance gains in
 comparison to multiple hits to the filesystem. That hypothesis though will
 need to validated.

 Thought and analysis is needed to determine:

 * if there is a threshold for "in-memory" consumption. What do I mean? At
 what point does the size of the memory usage for in-memory metadata become
 less performant than fetching needed block .json files?

 * is there a potential for running out of memory on hosting plans that
 might be throttled?

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


More information about the wp-trac mailing list