[wp-trac] [WordPress Trac] #41520: Disable deprecated functions
WordPress Trac
noreply at wordpress.org
Wed Aug 2 14:17:25 UTC 2017
#41520: Disable deprecated functions
------------------------------------+------------------------------
Reporter: spacedmonkey | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bootstrap/Load | Version:
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses: performance
------------------------------------+------------------------------
Comment (by schlessera):
I've run this simple change through the profiler.
I've done 3 50-samples runs on an empty site against the `wp-
json/wp/v2/posts` endpoint. This gave me these numbers:
{{{
Wall Time 124ms -14ms -13.0%
CPU Time 118ms -13ms -12.2%
I/O Time 5.97ms -1.46ms -32.3%
Memory 2.72MB -648B n/s
Network n/a n/a n/a
SQL 4.67ms 13rq
}}}
{{{
Wall Time 124ms -14ms -12.5%
CPU Time 118ms -12ms -11.9%
I/O Time 6.11ms -1.32ms -27.5%
Memory 2.72MB -700B n/s
Network n/a n/a n/a
SQL 4.85ms 13rq
}}}
{{{
Wall Time 125ms -12ms -11.1%
CPU Time 119ms -11ms -10.7%
I/O Time 6.4ms -1.02ms -19.1%
Memory 2.72MB -706B n/s
Network n/a n/a n/a
SQL 5.04ms 13rq
}}}
Even if these numbers are not 100% accurate, it should be safe to assume
that this change is an improvement.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41520#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list