sitespeed.io 36.3.0 → 36.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/lib/plugins/crux/index.js +4 -2
- package/lib/plugins/crux/pug/index.pug +55 -11
- package/lib/plugins/crux/repackage.js +55 -1
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
|
+
|
|
1
2
|
# CHANGELOG - sitespeed.io (we use [semantic versioning](https://semver.org))
|
|
2
3
|
|
|
4
|
+
## 36.4.1 - 2025-02-17
|
|
5
|
+
### Fixed
|
|
6
|
+
* The Docker container for last release was never push. The reason is that our GitHub action that do the release automatically was upgraded to Ubuntu 24 and there its a problem building containers for ARM. With this release we use Ubuntu 22 instead.
|
|
7
|
+
|
|
8
|
+
## 36.4.0 - 2025-02-14
|
|
9
|
+
### Added
|
|
10
|
+
* Crux update: Get fractions for RTT [#4436](https://github.com/sitespeedio/sitespeed.io/pull/4436), that extra LCP information [#4437](https://github.com/sitespeedio/sitespeed.io/pull/4437) and make sure LCP resource type fraction is sent to TSDB [#4438](https://github.com/sitespeedio/sitespeed.io/pull/4438).
|
|
11
|
+
|
|
3
12
|
## 36.3.0 - 2025-02-08
|
|
4
13
|
### Added
|
|
5
14
|
* Chrome 133 and Firefox 135 in the Docker container [#4431](https://github.com/sitespeedio/sitespeed.io/pull/4431).
|
|
@@ -23,7 +23,8 @@ const DEFAULT_METRICS_PAGESUMMARY = [
|
|
|
23
23
|
'loadingExperience.*.INTERACTION_TO_NEXT_PAINT_MS.*',
|
|
24
24
|
'loadingExperience.*.ROUND_TRIP_TIME_MS.*',
|
|
25
25
|
'loadingExperience.*.NAVIGATION_TYPES_FRACTIONS.*',
|
|
26
|
-
'loadingExperience.*.FORM_FACTORS_FRACTIONS.*'
|
|
26
|
+
'loadingExperience.*.FORM_FACTORS_FRACTIONS.*',
|
|
27
|
+
'loadingExperience.*.LCP_RESOURCE_TYPES_FRACTIONS.*'
|
|
27
28
|
];
|
|
28
29
|
const DEFAULT_METRICS_SUMMARY = [
|
|
29
30
|
'originLoadingExperience.*.FIRST_CONTENTFUL_PAINT_MS.*',
|
|
@@ -33,7 +34,8 @@ const DEFAULT_METRICS_SUMMARY = [
|
|
|
33
34
|
'originLoadingExperience.*.INTERACTION_TO_NEXT_PAINT_MS.*',
|
|
34
35
|
'originLoadingExperience.*.ROUND_TRIP_TIME_MS.*',
|
|
35
36
|
'originLoadingExperience.*.NAVIGATION_TYPES_FRACTIONS.*',
|
|
36
|
-
'originLoadingExperience.*.FORM_FACTORS_FRACTIONS.*'
|
|
37
|
+
'originLoadingExperience.*.FORM_FACTORS_FRACTIONS.*',
|
|
38
|
+
'originLoadingExperience.*.LCP_RESOURCE_TYPES_FRACTIONS.*'
|
|
37
39
|
];
|
|
38
40
|
|
|
39
41
|
function wait(ms) {
|
|
@@ -11,7 +11,7 @@ mixin sizeCell(title, size)
|
|
|
11
11
|
td.number(data-title=title, data-value= size)= h.size.format(size)
|
|
12
12
|
|
|
13
13
|
- const crux = pageInfo.data.crux.pageSummary;
|
|
14
|
-
- const metrics = {round_trip_time: 'Round
|
|
14
|
+
- const metrics = {round_trip_time: 'Round Trip Time (RTT)', experimental_time_to_first_byte: 'Time To First Byte (TTFB)', first_contentful_paint:'First Contentful Paint (FCP)', largest_contentful_paint: 'Largest Contentful Paint (LCP)', cumulative_layout_shift: 'Cumulative Layout Shift (CLS)', interaction_to_next_paint: 'Interaction to Next Paint (INP)'};
|
|
15
15
|
- const experiences = ['loadingExperience','originLoadingExperience'];
|
|
16
16
|
|
|
17
17
|
if experiences
|
|
@@ -106,6 +106,46 @@ if experiences
|
|
|
106
106
|
td Prerender
|
|
107
107
|
td #{Number(crux[experience][formFactor].NAVIGATION_TYPES_FRACTIONS.prerender *100).toFixed(2)}%
|
|
108
108
|
|
|
109
|
+
if crux[experience][formFactor].LCP_RESOURCE_TYPES_FRACTIONS
|
|
110
|
+
h4 Largest Contentful Paint resource type
|
|
111
|
+
table
|
|
112
|
+
thead
|
|
113
|
+
tr
|
|
114
|
+
th Element type
|
|
115
|
+
th Value
|
|
116
|
+
tbody
|
|
117
|
+
tr
|
|
118
|
+
td Text
|
|
119
|
+
td #{Number(crux[experience][formFactor].LCP_RESOURCE_TYPES_FRACTIONS.text *100).toFixed(2)}%
|
|
120
|
+
tr
|
|
121
|
+
td Image
|
|
122
|
+
td #{Number(crux[experience][formFactor].LCP_RESOURCE_TYPES_FRACTIONS.image *100).toFixed(2)}%
|
|
123
|
+
h4 Largest Contentful Paint image extra information
|
|
124
|
+
table
|
|
125
|
+
thead
|
|
126
|
+
tr
|
|
127
|
+
th Metric
|
|
128
|
+
th 75 p
|
|
129
|
+
tbody
|
|
130
|
+
tr
|
|
131
|
+
td Largest Contentful Paint
|
|
132
|
+
td #{h.time.ms(crux[experience][formFactor].LARGEST_CONTENTFUL_PAINT_MS.p75)}
|
|
133
|
+
if crux[experience][formFactor].LCP_IMAGE_RESOURCE_LOAD_DURATION_MS
|
|
134
|
+
tr
|
|
135
|
+
td Image load duration
|
|
136
|
+
td #{h.time.ms(crux[experience][formFactor].LCP_IMAGE_RESOURCE_LOAD_DURATION_MS.p75)}
|
|
137
|
+
if crux[experience][formFactor].LCP_IMAGE_RESOURCE_LOAD_DELAY_MS
|
|
138
|
+
tr
|
|
139
|
+
td Image load delay
|
|
140
|
+
td #{h.time.ms(crux[experience][formFactor].LCP_IMAGE_RESOURCE_LOAD_DELAY_MS.p75)}
|
|
141
|
+
if crux[experience][formFactor].LCP_IMAGE_ELEMENT_RENDER_DELAY_MS
|
|
142
|
+
tr
|
|
143
|
+
td Image render delay
|
|
144
|
+
td #{h.time.ms(crux[experience][formFactor].LCP_IMAGE_ELEMENT_RENDER_DELAY_MS.p75)}
|
|
145
|
+
if crux[experience][formFactor].LCP_IMAGE_TTFB_MS
|
|
146
|
+
tr
|
|
147
|
+
td Image TTFB
|
|
148
|
+
td #{h.time.ms(crux[experience][formFactor].LCP_IMAGE_TTFB_MS.p75)}
|
|
109
149
|
h4 Distribution
|
|
110
150
|
- let cruxus = `${experience}.${formFactor}.data.record.metrics`;
|
|
111
151
|
- let FCPs = [Number(get(crux, `${cruxus}.first_contentful_paint.histogram[0].density`, 0) * 100).toFixed(2), Number(get(crux, `${cruxus}.first_contentful_paint.histogram[1].density`, 0) * 100).toFixed(2), Number(get(crux, `${cruxus}.first_contentful_paint.histogram[2].density`, 0)*100).toFixed(2)];
|
|
@@ -118,6 +158,8 @@ if experiences
|
|
|
118
158
|
|
|
119
159
|
- let ITNPs = [Number(get(crux, `${cruxus}.interaction_to_next_paint.histogram[0].density`, 0) * 100).toFixed(2), Number(get(crux, `${cruxus}.interaction_to_next_paint.histogram[1].density`, 0) * 100).toFixed(2), Number(get(crux, `${cruxus}.interaction_to_next_paint.histogram[2].density`, 0)*100).toFixed(2)];
|
|
120
160
|
|
|
161
|
+
- let RTTs = [Number(get(crux, `${cruxus}.round_trip_time.histogram[0].density`, 0) * 100).toFixed(2), Number(get(crux, `${cruxus}.round_trip_time.histogram[1].density`, 0) * 100).toFixed(2), Number(get(crux, `${cruxus}.round_trip_time.histogram[2].density`, 0)*100).toFixed(2)];
|
|
162
|
+
|
|
121
163
|
script(type='text/javascript').
|
|
122
164
|
document.addEventListener("DOMContentLoaded", function() {
|
|
123
165
|
|
|
@@ -143,33 +185,35 @@ if experiences
|
|
|
143
185
|
drawPie('#chartCLS#{experience + formFactor}', [#{CLSs}], ['Good: #{CLSs[0]}%', 'Need improvement: #{CLSs[1]}%', 'Poor: #{CLSs[2]}%']);
|
|
144
186
|
drawPie('#chartTTFB#{experience + formFactor}', [#{TTFBs}], ['Good: #{TTFBs[0]}%', 'Need improvement: #{TTFBs[1]}%', 'Poor: #{TTFBs[2]}%']);
|
|
145
187
|
drawPie('#chartITNP#{experience + formFactor}', [#{ITNPs}], ['Good: #{ITNPs[0]}%', 'Need improvement: #{ITNPs[1]}%', 'Poor: #{ITNPs[2]}%']);
|
|
146
|
-
|
|
188
|
+
drawPie('#chartRTT#{experience + formFactor}', [#{RTTs}], ['Low: #{RTTs[0]}%', 'Medium: #{RTTs[1]}%', 'High: #{RTTs[2]}%']);
|
|
147
189
|
|
|
148
190
|
});
|
|
149
191
|
.responsive
|
|
150
192
|
table
|
|
151
193
|
tr
|
|
194
|
+
th #{metrics['round_trip_time']}
|
|
152
195
|
th #{metrics['experimental_time_to_first_byte']}
|
|
153
|
-
th #{metrics['first_contentful_paint']}
|
|
154
196
|
tr
|
|
197
|
+
td(data-title=metrics['round_trip_time'])
|
|
198
|
+
.ct-chart(id='chartRTT' + experience + formFactor)
|
|
155
199
|
td(data-title=metrics['experimental_time_to_first_byte'])
|
|
156
200
|
.ct-chart(id='chartTTFB' + experience + formFactor)
|
|
157
|
-
td(data-title=metrics['first_contentful_paint'])
|
|
158
|
-
.ct-chart(id='chartFCP' + experience + formFactor)
|
|
159
201
|
tr
|
|
202
|
+
th #{metrics['first_contentful_paint']}
|
|
160
203
|
th #{metrics['largest_contentful_paint']}
|
|
161
|
-
th #{metrics['cumulative_layout_shift']}
|
|
162
204
|
tr
|
|
205
|
+
td(data-title=metrics['first_contentful_paint'])
|
|
206
|
+
.ct-chart(id='chartFCP' + experience + formFactor)
|
|
163
207
|
td(data-title=metrics['largest_contentful_paint'])
|
|
164
208
|
.ct-chart(id='chartLCP' + experience + formFactor)
|
|
165
|
-
td(data-title=metrics['cumulative_layout_shift'])
|
|
166
|
-
.ct-chart(id='chartCLS' + experience + formFactor)
|
|
167
209
|
tr
|
|
168
210
|
th #{metrics['interaction_to_next_paint']}
|
|
169
|
-
th
|
|
211
|
+
th #{metrics['cumulative_layout_shift']}
|
|
170
212
|
tr
|
|
171
213
|
td(data-title=metrics['interaction_to_next_paint'])
|
|
172
|
-
.ct-chart(id='chartITNP' + experience + formFactor)
|
|
173
|
-
td
|
|
214
|
+
.ct-chart(id='chartITNP' + experience + formFactor)
|
|
215
|
+
td(data-title=metrics['cumulative_layout_shift'])
|
|
216
|
+
.ct-chart(id='chartCLS' + experience + formFactor)
|
|
217
|
+
|
|
174
218
|
else
|
|
175
219
|
p No data availible in the Chrome User Experience report.
|
|
@@ -65,7 +65,48 @@ export function repackage(cruxResult) {
|
|
|
65
65
|
|
|
66
66
|
if (cruxResult.record.metrics.round_trip_time) {
|
|
67
67
|
result.ROUND_TRIP_TIME_MS = {
|
|
68
|
-
p75: cruxResult.record.metrics.round_trip_time.percentiles.p75
|
|
68
|
+
p75: cruxResult.record.metrics.round_trip_time.percentiles.p75,
|
|
69
|
+
low: cruxResult.record.metrics.round_trip_time.histogram[0].density,
|
|
70
|
+
medium: cruxResult.record.metrics.round_trip_time.histogram[1].density,
|
|
71
|
+
high: cruxResult.record.metrics.round_trip_time.histogram[2].density
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
if (
|
|
76
|
+
cruxResult.record.metrics
|
|
77
|
+
.largest_contentful_paint_image_resource_load_duration
|
|
78
|
+
) {
|
|
79
|
+
result.LCP_IMAGE_RESOURCE_LOAD_DURATION_MS = {
|
|
80
|
+
p75: cruxResult.record.metrics
|
|
81
|
+
.largest_contentful_paint_image_resource_load_duration.percentiles.p75
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
if (
|
|
86
|
+
cruxResult.record.metrics.largest_contentful_paint_image_resource_load_delay
|
|
87
|
+
) {
|
|
88
|
+
result.LCP_IMAGE_RESOURCE_LOAD_DELAY_MS = {
|
|
89
|
+
p75: cruxResult.record.metrics
|
|
90
|
+
.largest_contentful_paint_image_resource_load_delay.percentiles.p75
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
if (
|
|
95
|
+
cruxResult.record.metrics
|
|
96
|
+
.largest_contentful_paint_image_element_render_delay
|
|
97
|
+
) {
|
|
98
|
+
result.LCP_IMAGE_ELEMENT_RENDER_DELAY_MS = {
|
|
99
|
+
p75: cruxResult.record.metrics
|
|
100
|
+
.largest_contentful_paint_image_element_render_delay.percentiles.p75
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
if (
|
|
105
|
+
cruxResult.record.metrics.largest_contentful_paint_image_time_to_first_byte
|
|
106
|
+
) {
|
|
107
|
+
result.LCP_IMAGE_TTFB_MS = {
|
|
108
|
+
p75: cruxResult.record.metrics
|
|
109
|
+
.largest_contentful_paint_image_time_to_first_byte.percentiles.p75
|
|
69
110
|
};
|
|
70
111
|
}
|
|
71
112
|
|
|
@@ -80,6 +121,19 @@ export function repackage(cruxResult) {
|
|
|
80
121
|
};
|
|
81
122
|
}
|
|
82
123
|
|
|
124
|
+
if (
|
|
125
|
+
cruxResult.record.metrics.largest_contentful_paint_resource_type &&
|
|
126
|
+
cruxResult.record.metrics.largest_contentful_paint_resource_type.fractions
|
|
127
|
+
) {
|
|
128
|
+
result.LCP_RESOURCE_TYPES_FRACTIONS = {
|
|
129
|
+
text: cruxResult.record.metrics.largest_contentful_paint_resource_type
|
|
130
|
+
.fractions.text,
|
|
131
|
+
image:
|
|
132
|
+
cruxResult.record.metrics.largest_contentful_paint_resource_type
|
|
133
|
+
.fractions.image
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
|
|
83
137
|
if (
|
|
84
138
|
cruxResult.record.metrics.navigation_types &&
|
|
85
139
|
cruxResult.record.metrics.navigation_types.fractions
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sitespeed.io",
|
|
3
|
-
"version": "36.
|
|
3
|
+
"version": "36.4.1",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "sitespeed.io",
|
|
9
|
-
"version": "36.
|
|
9
|
+
"version": "36.4.1",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"dependencies": {
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"sitespeed.io": "./bin/sitespeed.js",
|
|
6
6
|
"sitespeed.io-wpr": "./bin/browsertimeWebPageReplay.js"
|
|
7
7
|
},
|
|
8
|
-
"version": "36.
|
|
8
|
+
"version": "36.4.1",
|
|
9
9
|
"description": "sitespeed.io is an open-source tool for comprehensive web performance analysis, enabling you to test, monitor, and optimize your website’s speed using real browsers in various environments.",
|
|
10
10
|
"keywords": [
|
|
11
11
|
"performance",
|