wordpress-develop/tests/performance
Felix Arntz a3b80f551f Build/Test: Fix incorrect hook being used to separate Server-Timing metrics in performance tests.
The `wp-before-template` and `wp-template` metric intend to separate WordPress core's own bootstrap process from any logic that is part of the eventual template loaded. The appropriate hook for that is the `template_include` filter as that occurs right before the template file is included.

Props mukesh27, joemcgill.
Fixes #58674.


git-svn-id: https://develop.svn.wordpress.org/trunk@56162 602fd350-edb4-49c9-b593-d223f7449a82
2023-07-07 17:39:09 +00:00
..
config Build/Test Tools: Add a performance measurement workflow. 2023-03-03 20:37:10 +00:00
specs Build/Test Tools: Add a performance measurement workflow. 2023-03-03 20:37:10 +00:00
wp-content/mu-plugins Build/Test: Fix incorrect hook being used to separate Server-Timing metrics in performance tests. 2023-07-07 17:39:09 +00:00
jest.config.js Build/Test Tools: Add a performance measurement workflow. 2023-03-03 20:37:10 +00:00
log-results.js Build/Test Tools: Add a performance measurement workflow. 2023-03-03 20:37:10 +00:00
results.js Build/Test Tools: Add a performance measurement workflow. 2023-03-03 20:37:10 +00:00
run-tests.js Build/Test Tools: Add a performance measurement workflow. 2023-03-03 20:37:10 +00:00
utils.js Build/Test Tools: Add a performance measurement workflow. 2023-03-03 20:37:10 +00:00