[wp-trac] [WordPress Trac] #27350: Invalid HTML Output
WordPress Trac
noreply at wordpress.org
Wed Aug 6 21:22:38 UTC 2014
#27350: Invalid HTML Output
--------------------------------------+------------------------------
Reporter: miqrogroove | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 3.8
Severity: normal | Resolution:
Keywords: wpautop needs-unit-tests | Focuses:
--------------------------------------+------------------------------
Comment (by jond):
I ran performance tests using a 4K word test document (with
`<blockquote>`, `<video>`, `<table>` and other block elements sprinkled
throughout) that was run through `wpautop` 1000x. I used the exact same
methodology for both tests (`for` loop calling `wpautop`)and captured
results through xdebug profiling. The results show a modest slowdown as
expected. Results:
Original:
Runtime: 15034 milliseconds
Function: wpautop
Invocation Count: 1000
Total Self Cost: 12.60
Total Inclusive Cost: 98.21
Modified:
Runtime: 18752 milliseconds
Function: wpautop
Invocation Count: 1000
Total Self Cost: 24.40
Total Inclusive Cost: 95.96
Test text is included in the `wpautop_profiler_reports.zip`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27350#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list