[wp-trac] [WordPress Trac] #46645: Site health: timeout on the "Info" tab

WordPress Trac noreply at wordpress.org
Thu Mar 28 00:58:01 UTC 2019


#46645: Site health: timeout on the "Info" tab
-------------------------------------------------+------------------------
 Reporter:  azaozz                               |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  5.2
Component:  Administration                       |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  site-health has-patch needs-testing  |     Focuses:  multisite
-------------------------------------------------+------------------------

Comment (by azaozz):

 Thanks @xkon for the testing :)

 Looks like RecursiveDirectoryIterator gets faster compared to
 get_dirsize() when there are more files. I've run the tests on what should
 be a "typical" install, about 1GB total size, about 35 plugins and 10
 themes.

 The results for RecursiveDirectoryIterator and get_dirsize() are pretty
 much the same (tested on PHP 7.3, earlier versions may possibly have some
 difference). Thinking we should keep using get_dirsize() for now as it has
 caching. If more tests are done and one is clearly faster on an "average"
 install, lets switch to it.

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


More information about the wp-trac mailing list