Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #28575, comment 13


Ignore:
Timestamp:
06/24/2014 02:39:52 PM (11 years ago)
Author:
miqrogroove
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28575, comment 13

    initial v1  
    3131Each of the $dynamic patterns is optimal, using almost exactly the same amount of time.  Reducing the number of patterns is paramount for improving performance.
    3232
    33 For other than the HTML/shortcode avoidance pattern, about 95% of the time consumed is devoted to looping through $textarr and re-executing the patterns rather versus running each pattern one time on the entire post.
     33For other than the HTML/shortcode avoidance pattern, about 95% of the time consumed is devoted to looping through $textarr and re-executing the patterns versus running each pattern one time on the entire post.
    3434
    3535The calls to _wptexturize_pushpop_element() are not trivial, consuming 7% of the total time.