[wp-trac] [WordPress Trac] #46707: Site health: notify the user while gathering site data

WordPress Trac noreply at wordpress.org
Fri Apr 12 07:20:36 UTC 2019


#46707: Site health: notify the user while gathering site data
-------------------------------------------------+-------------------------
 Reporter:  azaozz                               |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  5.2
Component:  Administration                       |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  site-health has-patch needs-testing  |     Focuses:  ui,
                                                 |  performance
-------------------------------------------------+-------------------------

Comment (by xkon):

 Thank you @azaozz ! Just finished checking out [attachment:"46707.1.diff"]
 and this looks really good to me. Not having a cached value isn't actually
 bad at all to be honest especially if the timeout is close to 30 or under,
 users are most likely already "comfortable" waiting until that point from
 other various functionalities from plugins etc so it doesn't feel awkward
 every-time you get in there.

 Stats wise I'm counting: 29,508 Files, 5,738 Folders, 478.34 MB and
 finishes in about 18 seconds so that's cool.

 One thing I'm seeing and I'm a bit confused is on the totals, I think the
 calculation is going wrong somewhere. Let me explain with my stats:

 My folder when inspected (on Windows) is:
 {{{
 Size:    478MB (501,578,362 bytes)
 On disk: 526 MB (551,817,216 bytes).
 }}}

 The Total installation size should be WordPress Directory Size + Database
 size. It seems though that it adds all of the previous folders again to
 make the total. I know it was mentioned we're having some difference from
 actual disk size, but this is x2 on my case at least.

 Scan stats:
 {{{
 4.21 MB   - Uploads Directory Size
 8.90 MB   - Themes Directory Size
 407.73 MB - Plugins Directory Size

 478.34 MB - WordPress Directory Size
 720.00 KB - Database size

 899.89 MB - Total installation size
 }}}

 Not really sure about this but it looked a bit weird that's why I'm
 mentioning.

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


More information about the wp-trac mailing list