WordPress.org

Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #21320


Ignore:
Timestamp:
07/20/12 04:26:58 (21 months ago)
Author:
nacin
Comment:

Worth noting that I shouldn't have used an absolute unit in [21285] — profiling obviously slows down a page (the page does *not* take 4.5 seconds to compute normally), so these numbers are, of course, only good for relative comparisons.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21320

    • Property Owner set to nacin
    • Property Status changed from new to closed
    • Property Resolution changed from to fixed
  • Ticket #21320 – Description

    initial v2  
    2323}}} 
    2424 
    25 array_key_exists() went from being called all 2500 times, to only 192 times, and the time cost of _exists() goes from 93ms to 9ms. Total time spent in cache.php falls by a third. 
     25array_key_exists() went from being called all 2500 times, to only 192 times, and the time cost of _exists() drops to 10% of what it was. (Time cost 97000 to 9300.) Total time spent in cache.php falls by a third.