[wp-trac] [WordPress Trac] #57375: Add move_dir() function

WordPress Trac noreply at wordpress.org
Sat Jan 28 04:41:58 UTC 2023


#57375: Add move_dir() function
--------------------------------------+--------------------------
 Reporter:  afragen                   |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  6.2
Component:  Filesystem API            |     Version:  trunk
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  performance
--------------------------------------+--------------------------

Comment (by bronsonquick):

 I've just completed some testing using the Faster Updates plugin @ version
 0.5.5 and doing these all via Dashboard -> Updates.

 My current setup is as follows:

 * Chassis Version 5.1.0
 * VirtualBox Version 7.0.6 r155176
 * MacOS Ventura 13.1 (22C65)

 I did three tests both with and without Faster Updates and all of them
 were for plugins as I don't know many large themes off the top of my head!

 My results are as follows:

 * WP Forms Lite - From 1.6.8.1 to 1.7.9.1
   * With Faster Updates
     1. 14:52 seconds
     2. 14:05 seconds
     3. 14:04 seconds
    * Without Faster Updates
      1. 17:61 seconds
      2. 17:43 seconds
      3. 17:18 seconds
 * Jetpack - From 10.2 to 11.7.1
   * With Faster Updates
     1. 23:19 seconds
     2. 25:77 seconds
     3. 23:56 seconds
    * Without Faster Updates
      1. 32:25 seconds
      2. 34:41 seconds
      3. 34:88 seconds
 * Woocommerce - From 5.2.1 to 7.3.0
   * With Faster Updates
     1. 24:32 seconds
     2. 25:51 seconds
     3. 28:21 seconds
    * Without Faster Updates
      1. 39:28 seconds
      2. 39:23 seconds
      3. 38:02 seconds

 I then did a final test three times which involved bulk updating all three
 of those plugins. i.e:
 * WP Forms Lite - From 1.6.8.1 to 1.7.9.1
 * Jetpack - From 10.2 to 11.7.1
 * Woocommerce - From 5.2.1 to 7.3.0
   * With Faster Updates
     1. 1:01:72 seconds
     2. 1:01:56 seconds
     3. 1:07:19 seconds
    * Without Faster Updates
      1. 1:44:81 seconds
      2. 1:30:77 seconds
      3. 1:28:19 seconds

 I can also confirm the following:
 * No PHP errors/warnings/notices were logged during the updates.
 * All temp directories created during the updates were cleaned up
 afterwards.
 * After updating, all the plugins could be activated successfully with no
 errors logged.

 Thanks for all your hard work on this folks. It's impressive seeing the
 results!

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


More information about the wp-trac mailing list