[wp-trac] [WordPress Trac] #34121: Add PCRE Performance Testing
WordPress Trac
noreply at wordpress.org
Thu Oct 1 22:32:50 UTC 2015
#34121: Add PCRE Performance Testing
-------------------------+------------------
Reporter: miqrogroove | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.4
Component: Formatting | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------+------------------
Changes (by miqrogroove):
* keywords: => has-patch
Comment:
In [attachment:34121.diff]:
* Move pattern from wptexturize() into a separate function.
* Move pattern from wp_html_split() into a separate function.
* Beautify code for wp_html_split().
* Remove unnecessary instances of `/s` modifier in patterns that don't use
dots.
* Add tests/phpunit/data/formatting/whole-posts.php for testing larger
strings.
* Add function benchmark_pcre_backtracking().
* Add tests for wp_html_split().
* Add tests for wptexturize().
* Add tests for get_shortcode_regex().
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34121#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list