[wp-trac] [WordPress Trac] #39163: Use REQUEST_TIME_FLOAT for timing
WordPress Trac
noreply at wordpress.org
Sun Apr 25 23:19:00 UTC 2021
#39163: Use REQUEST_TIME_FLOAT for timing
----------------------------+--------------------------
Reporter: andy | Owner: jorbin
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.8
Component: Bootstrap/Load | Version: 4.8
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: performance
----------------------------+--------------------------
Comment (by SergeyBiryukov):
Replying to [comment:6 peterwilsoncc]:
> Is it possible to rename the function `wp_timer_float()` to avoid the
potential for naming collisions?
I think it was named without a prefix for consistency with `timer_start()`
and `timer_stop()`, so the current naming would be preferable.
I've tried to search on https://wpdirectory.net/ if there are any plugins
currently using `timer_float()`, but it looks like the search is still
queued.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39163#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list