[wp-trac] [WordPress Trac] #57340: Questions about about the pathlength of WP5.8-6.1 is affected by themes

WordPress Trac noreply at wordpress.org
Fri Dec 16 07:04:54 UTC 2022


#57340: Questions about about the pathlength of WP5.8-6.1 is affected by themes
--------------------------+-----------------------------
 Reporter:  longt4o       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Hello,
 When I was using wordpress as workload to collect performance data, I
 found that the themes in wordpress/wp-content/ had a great impact on the
 pathlength of the transaction–that is, the number of instructions per
 transaction. Moreover, when I take out the release version of wordpress
 and change themes to other versions, the pathlenth will also change.

 pathlength Variation:
 WP5.8 -> WP5.9:-18.7%
 WP5.8 -> WP6.1:-25.2%

 I would like to ask: 1.why this is the case? Whether the themes truly
 affect the amount of code of each transaction? 2. Why the pathlength of
 5.9 and 6.1 is reduced by so much compared to 5.8? Is it because of these
 php and css files? Or have done some optimizations to the code?

 I really hope someone can help me with this, it will help me a lot.

 Thank you for your time.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57340>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list