[wp-trac] [WordPress Trac] #25856: debug of wpautop function with Unit Tests

WordPress Trac noreply at wordpress.org
Fri Dec 20 19:34:55 UTC 2013


#25856: debug of wpautop function with Unit Tests
-------------------------+-----------------------------
 Reporter:  mdbitz       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Formatting   |     Version:  3.8
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+-----------------------------

Comment (by bpetty):

 Nevermind, I found it... was just restricting to 90% of call time.

 Original:

 Function: wpautop
 Invocation Count: 229
 Total Self Cost: 1.43
 Total Inclusive Cost: 1.55

 Patched:

 Function: wpautop
 Invocation Count: 298
 Total Self Cost: 4.95
 Total Inclusive Cost: 5.35

 It does look slower in your profiles with the patched version, but also
 note that it was called a different number of times too. Did you run these
 with the same exact set of tests?

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25856#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list