The two sites are running on LocalWP with PHP 8.2, MySQL 8, Nginx. They both have the theme unit test data installed. The Twenty Twenty-One theme is active. In the Customizer, the theme is configured to show full content instead of excerpts on archive pages.
npm run research -- benchmark-server-timing --url=http://wp68.local/sample-page/ --url=http://wp69beta4.local/sample-page/ --number=100 --diff --output=md| URL | http://wp68.local/sample-page/ | http://wp69beta4.local/sample-page/ | Diff (ms) | Diff (%) |
|---|---|---|---|---|
| Success Rate | 100% | 100% | -- | -- |
| Response Time (median) | 10.47 | 12.43 | +1.96 | +18.7% |
| wp-before-template (median) | 3.63 | 4.74 | +1.11 | +30.6% |
| wp-template (median) | 5.88 | 6.56 | +0.68 | +11.6% |
| wp-total (median) | 9.51 | 11.3 | +1.79 | +18.8% |
👉 Why is the performance so much better in this context? The homepage is showing a lot of posts from the theme unit test data.
npm run research -- benchmark-server-timing --url=http://wp68.local/ --url=http://wp69beta4.local/ --number=100 --diff --output=md| URL | http://wp68.local/ | http://wp69beta4.local/ | Diff (ms) | Diff (%) |
|---|---|---|---|---|
| Success Rate | 100% | 100% | -- | -- |
| Response Time (median) | 268.47 | 34.54 | -233.93 | -87.1% |
| wp-before-template (median) | 9.86 | 5.66 | -4.20 | -42.6% |
| wp-template (median) | 255.45 | 27.01 | -228.44 | -89.4% |
| wp-total (median) | 265.27 | 32.67 | -232.60 | -87.7% |
npm run research -- benchmark-web-vitals --url=http://wp68.local/ --url=http://wp69beta4.local/ --number=20 --network-conditions="broadband" --diff --output=md(Performance Lab plugin deactivated to avoid output buffering on 6.8.)
| URL | http://wp68.local/ | http://wp69beta4.local/ | Diff (ms) | Diff (%) |
|---|---|---|---|---|
| Success Rate | 100% | 100% | -- | -- |
| FCP (median) | 475.8 | 223.4 | -252.40 | -53.0% |
| LCP (median) | 475.8 | 223.4 | -252.40 | -53.0% |
| TTFB (median) | 286.45 | 67.1 | -219.35 | -76.6% |
| TTLB (median) | 310.2 | 97.65 | -212.55 | -68.5% |
| LCP-TTFB (median) | 188.55 | 156.4 | -32.15 | -17.1% |
npm run research -- benchmark-web-vitals --url=http://wp68.local/block-category-common/ --url=http://wp69beta4.local/block-category-common/ --number=100 --network-conditions="broadband" --diff --output=md(Performance Lab plugin deactivated to avoid output buffering on 6.8.)
| URL | http://wp68.local/block-category-common/ | http://wp69beta4.local/block-category-common/ | Diff (ms) | Diff (%) |
|---|---|---|---|---|
| Success Rate | 100% | 100% | -- | -- |
| FCP (median) | 238.35 | 218.75 | -19.60 | -8.2% |
| LCP (median) | 238.35 | 218.75 | -19.60 | -8.2% |
| TTFB (median) | 35.9 | 37.4 | +1.50 | +4.2% |
| TTLB (median) | 67 | 70.85 | +3.85 | +5.7% |
| LCP-TTFB (median) | 203.75 | 179.2 | -24.55 | -12.0% |
npm run research -- benchmark-web-vitals --url=http://wp68.local/sample-page/ --url=http://wp69beta4.local/sample-page/ --number=100 --network-conditions="broadband" --diff --output=md(Performance Lab plugin deactivated to avoid output buffering on 6.8.)
| URL | http://wp68.local/sample-page/ | http://wp69beta4.local/sample-page/ | Diff (ms) | Diff (%) |
|---|---|---|---|---|
| Success Rate | 100% | 100% | -- | -- |
| FCP (median) | 190.85 | 180.05 | -10.80 | -5.7% |
| LCP (median) | 190.85 | 180.05 | -10.80 | -5.7% |
| TTFB (median) | 32.6 | 34.75 | +2.15 | +6.6% |
| TTLB (median) | 65.9 | 66.7 | +0.80 | +1.2% |
| LCP-TTFB (median) | 158.25 | 144.65 | -13.60 | -8.6% |
+------------+---------+------------+-------------+-------------+------------+--------------+-----------+------------+--------------+---------------+
| stage | time | query_time | query_count | cache_ratio | cache_hits | cache_misses | hook_time | hook_count | request_time | request_count |
+------------+---------+------------+-------------+-------------+------------+--------------+-----------+------------+--------------+---------------+
| bootstrap | 0.1745s | 0.0016s | 3 | 92.09% | 163 | 14 | 0.0125s | 4964 | 0s | 0 |
| main_query | 0.0043s | 0.0033s | 11 | 70.4% | 176 | 74 | 0.0003s | 285 | 0s | 0 |
| template | 0.3426s | 0.0262s | 47 | 93.28% | 3260 | 235 | 0.3352s | 22343 | 0.2158s | 1 |
+------------+---------+------------+-------------+-------------+------------+--------------+-----------+------------+--------------+---------------+
| total (3) | 0.5215s | 0.0311s | 61 | 85.26% | 3599 | 323 | 0.3479s | 27592 | 0.2158s | 1 |
+------------+---------+------------+-------------+-------------+------------+--------------+-----------+------------+--------------+---------------+
+------------+---------+------------+-------------+-------------+------------+--------------+-----------+------------+--------------+---------------+
| stage | time | query_time | query_count | cache_ratio | cache_hits | cache_misses | hook_time | hook_count | request_time | request_count |
+------------+---------+------------+-------------+-------------+------------+--------------+-----------+------------+--------------+---------------+
| bootstrap | 0.1818s | 0.0017s | 3 | 92.39% | 170 | 14 | 0.0137s | 5106 | 0s | 0 |
| main_query | 0.0047s | 0.0037s | 11 | 70.4% | 176 | 74 | 0.0003s | 285 | 0s | 0 |
| template | 0.0782s | 0.0133s | 39 | 93.19% | 3228 | 236 | 0.073s | 23077 | 0s | 0 |
+------------+---------+------------+-------------+-------------+------------+--------------+-----------+------------+--------------+---------------+
| total (3) | 0.2648s | 0.0186s | 53 | 85.33% | 3574 | 324 | 0.0869s | 28468 | 0s | 0 |
+------------+---------+------------+-------------+-------------+------------+--------------+-----------+------------+--------------+---------------+
+-----------------------------------+--------------------------------------+---------+------------+-------------+-------------+------------+--------------+--------------+---------------+
| callback | location | time | query_time | query_count | cache_ratio | cache_hits | cache_misses | request_time | request_count |
+-----------------------------------+--------------------------------------+---------+------------+-------------+-------------+------------+--------------+--------------+---------------+
| twenty_twenty_one_setup() | twentytwentyone/functions.php:29 | 0.0003s | 0s | 0 | 62.5% | 5 | 3 | 0s | 0 |
| _register_theme_block_patterns() | wp-includes/block-patterns.php:349 | 0.0004s | 0.0003s | 1 | 80% | 12 | 3 | 0s | 0 |
| wp_enqueue_scripts() | wp-includes/script-loader.php:2293 | 0.004s | 0s | 0 | 94.81% | 146 | 8 | 0s | 0 |
| _override_custom_logo_theme_mod() | wp-includes/blocks/site-logo.php:130 | 0.0003s | 0.0002s | 1 | 100% | 2 | 0 | 0s | 0 |
| do_blocks() | wp-includes/blocks.php:2406 | 0.2938s | 0.0198s | 35 | 99.72% | 358 | 1 | 0.2079s | 1 |
| do_shortcode() | wp-includes/shortcodes.php:243 | 0.0049s | 0.0011s | 2 | 97.33% | 0 | 0 | 0s | 0 |
| wp_filter_content_tags() | wp-includes/media.php:1872 | 0.0071s | 0.0022s | 4 | 100% | 0 | 0 | 0s | 0 |
+-----------------------------------+--------------------------------------+---------+------------+-------------+-------------+------------+--------------+--------------+---------------+
| total (7) | | 0.3107s | 0.0236s | 43 | 90.62% | 523 | 15 | 0.2079s | 1 |
+-----------------------------------+--------------------------------------+---------+------------+-------------+-------------+------------+--------------+--------------+---------------+
+-----------------------------------+--------------------------------------+---------+------------+-------------+-------------+------------+--------------+--------------+---------------+
| callback | location | time | query_time | query_count | cache_ratio | cache_hits | cache_misses | request_time | request_count |
+-----------------------------------+--------------------------------------+---------+------------+-------------+-------------+------------+--------------+--------------+---------------+
| twenty_twenty_one_setup() | twentytwentyone/functions.php:29 | 0.0003s | 0s | 0 | 62.5% | 5 | 3 | 0s | 0 |
| _register_theme_block_patterns() | wp-includes/block-patterns.php:349 | 0.0006s | 0.0005s | 1 | 80% | 12 | 3 | 0s | 0 |
| wp_enqueue_scripts() | wp-includes/script-loader.php:2305 | 0.0018s | 0s | 0 | 94.69% | 107 | 6 | 0s | 0 |
| wp_print_font_faces() | wp-includes/fonts.php:43 | 0.0011s | 0s | 0 | 85.71% | 6 | 1 | 0s | 0 |
| _override_custom_logo_theme_mod() | wp-includes/blocks/site-logo.php:130 | 0.0002s | 0.0001s | 1 | 100% | 2 | 0 | 0s | 0 |
| do_blocks() | wp-includes/blocks.php:2441 | 0.0517s | 0.0112s | 27 | 99.72% | 358 | 1 | 0s | 0 |
| do_shortcode() | wp-includes/shortcodes.php:243 | 0.0014s | 0.0005s | 2 | 97.33% | 0 | 0 | 0s | 0 |
| wp_filter_content_tags() | wp-includes/media.php:1886 | 0.0066s | 0.0021s | 4 | 100% | 0 | 0 | 0s | 0 |
| wp_enqueue_global_styles() | wp-includes/script-loader.php:2529 | 0.0009s | 0s | 0 | 96.67% | 29 | 1 | 0s | 0 |
+-----------------------------------+--------------------------------------+---------+------------+-------------+-------------+------------+--------------+--------------+---------------+
| total (9) | | 0.0645s | 0.0145s | 35 | 90.74% | 519 | 15 | 0s | 0 |
+-----------------------------------+--------------------------------------+---------+------------+-------------+-------------+------------+--------------+--------------+---------------+