WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #53670, comment 2


Ignore:
Timestamp:
07/16/2021 01:58:11 AM (4 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #53670, comment 2

    initial v1  
    77There definitely will be some milliseconds of disk i/o to get the files, and some MB of memory to load them, but not sure if that would be a "deal breaker" amount of resources.
    88
    9 On the other hand having a big amount of "fake" functions defined when not in wp-admin has its costs and potential problems. For example it will increase the total number of functions and classes quite a bit which (as far as I remember) slows down PHP by a tiny bit for each one. That slow-down, even if it is very minimal, will be happening every time WP runs on the front-end.
     9On the other hand having a big amount of "fake" functions defined when not in wp-admin has its costs and potential problems. For example it will increase the total number of functions and classes quite a bit which (as far as I remember) slows down PHP by a tiny bit for each one each time it makes a function call. That slow-down, even if it is very minimal, will be happening every time WP runs on the front-end.
    1010
    1111So we're probably looking at slowing all WP sites by a little bit while speeding up some/few sites in some cases.