sitespeed.io 36.2.5 → 36.3.0
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/Dockerfile +1 -1
- package/docs/README.md +10 -0
- package/lib/plugins/domains/aggregator.js +32 -27
- package/lib/plugins/sustainable/index.js +2 -2
- package/npm-shrinkwrap.json +10 -10
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# CHANGELOG - sitespeed.io (we use [semantic versioning](https://semver.org))
|
|
2
2
|
|
|
3
|
+
## 36.3.0 - 2025-02-08
|
|
4
|
+
### Added
|
|
5
|
+
* Chrome 133 and Firefox 135 in the Docker container [#4431](https://github.com/sitespeedio/sitespeed.io/pull/4431).
|
|
6
|
+
* Browsertime 24.2.0 with Chromedriver 133 [#4432](https://github.com/sitespeedio/sitespeed.io/pull/4432).
|
|
7
|
+
|
|
8
|
+
### Fixed
|
|
9
|
+
* Extra guard against missing HARs [#4430](https://github.com/sitespeedio/sitespeed.io/pull/4430).
|
|
10
|
+
* Log missing green domain info as info instead of error [#4433](https://github.com/sitespeedio/sitespeed.io/pull/4433).
|
|
11
|
+
|
|
3
12
|
## 36.2.5 - 2025-02-03
|
|
4
13
|
### Fixed
|
|
5
14
|
* The check for sending Android test through APIs was broken in 36.2.4, fixed in [#4428](https://github.com/sitespeedio/sitespeed.io/pull/4428).
|
package/Dockerfile
CHANGED
package/docs/README.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Documentation for sitespeed.io
|
|
2
|
+
================
|
|
3
|
+
|
|
4
|
+
First make sure you have Bundler: <code>gem install bundler</code>
|
|
5
|
+
|
|
6
|
+
If you run on a Mac OS make sure you have xcode-select installed: <code>xcode-select --install</code>
|
|
7
|
+
|
|
8
|
+
To run it locally: <code>bundle install && bundle exec jekyll serve --baseurl ''</code>
|
|
9
|
+
|
|
10
|
+
Checkout http://localhost:4000/
|
|
@@ -80,40 +80,45 @@ export class DomainsAggregator {
|
|
|
80
80
|
if (this.groups[mainDomain] === undefined) {
|
|
81
81
|
this.groups[mainDomain] = {};
|
|
82
82
|
}
|
|
83
|
-
const firstPageId = har.log.pages[0].id;
|
|
84
83
|
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
// Only pick the first request out of multiple runs.
|
|
88
|
-
continue;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
const domainName = parseDomainName(entry.request.url),
|
|
92
|
-
domain = this.domains[domainName] || getDomain(domainName),
|
|
93
|
-
groupDomain =
|
|
94
|
-
this.groups[mainDomain][domainName] || getDomain(domainName),
|
|
95
|
-
totalTime = entry.time;
|
|
84
|
+
if (har.log.pages.length > 0) {
|
|
85
|
+
const firstPageId = har.log.pages[0].id;
|
|
96
86
|
|
|
97
|
-
|
|
98
|
-
|
|
87
|
+
for (const entry of har.log.entries) {
|
|
88
|
+
if (entry.pageref !== firstPageId) {
|
|
89
|
+
// Only pick the first request out of multiple runs.
|
|
90
|
+
continue;
|
|
91
|
+
}
|
|
99
92
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
93
|
+
const domainName = parseDomainName(entry.request.url),
|
|
94
|
+
domain = this.domains[domainName] || getDomain(domainName),
|
|
95
|
+
groupDomain =
|
|
96
|
+
this.groups[mainDomain][domainName] || getDomain(domainName),
|
|
97
|
+
totalTime = entry.time;
|
|
98
|
+
|
|
99
|
+
domain.requestCount++;
|
|
100
|
+
groupDomain.requestCount++;
|
|
101
|
+
|
|
102
|
+
if (isValidTiming(totalTime)) {
|
|
103
|
+
domain.totalTime.push(totalTime);
|
|
104
|
+
groupDomain.totalTime.push(totalTime);
|
|
105
|
+
} else {
|
|
106
|
+
log.debug(
|
|
107
|
+
'Missing time from har entry for url: ' + entry.request.url
|
|
108
|
+
);
|
|
109
|
+
}
|
|
106
110
|
|
|
107
|
-
|
|
108
|
-
|
|
111
|
+
for (const name of timingNames) {
|
|
112
|
+
const timing = entry.timings[name];
|
|
109
113
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
114
|
+
if (isValidTiming(timing)) {
|
|
115
|
+
domain[name].push(timing);
|
|
116
|
+
groupDomain[name].push(timing);
|
|
117
|
+
}
|
|
113
118
|
}
|
|
119
|
+
this.domains[domainName] = domain;
|
|
120
|
+
this.groups[mainDomain][domainName] = groupDomain;
|
|
114
121
|
}
|
|
115
|
-
this.domains[domainName] = domain;
|
|
116
|
-
this.groups[mainDomain][domainName] = groupDomain;
|
|
117
122
|
}
|
|
118
123
|
}
|
|
119
124
|
summarize() {
|
|
@@ -94,8 +94,8 @@ export default class SustainablePlugin extends SitespeedioPlugin {
|
|
|
94
94
|
try {
|
|
95
95
|
this.data = await loadJSON(greenDomainJSONpath);
|
|
96
96
|
} catch {
|
|
97
|
-
log.
|
|
98
|
-
log.
|
|
97
|
+
log.info('Green domain local file is missing on disk.');
|
|
98
|
+
log.info(
|
|
99
99
|
'Run `DOWNLOAD_URL2GREEN=true npm install sitespeed.io` when you install to install the file locally or use the online API using `--sustainable.useGreenWebHostingAPI true` to check if a domain is green hosted.'
|
|
100
100
|
);
|
|
101
101
|
this.data = {};
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sitespeed.io",
|
|
3
|
-
"version": "36.
|
|
3
|
+
"version": "36.3.0",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "sitespeed.io",
|
|
9
|
-
"version": "36.
|
|
9
|
+
"version": "36.3.0",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"dependencies": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"@slack/webhook": "7.0.4",
|
|
19
19
|
"@tgwf/co2": "0.16.4",
|
|
20
20
|
"axe-core": "4.10.2",
|
|
21
|
-
"browsertime": "24.
|
|
21
|
+
"browsertime": "24.2.0",
|
|
22
22
|
"coach-core": "8.1.1",
|
|
23
23
|
"dayjs": "1.11.11",
|
|
24
24
|
"fast-crc32c": "2.0.0",
|
|
@@ -1821,9 +1821,9 @@
|
|
|
1821
1821
|
}
|
|
1822
1822
|
},
|
|
1823
1823
|
"node_modules/@sitespeed.io/chromedriver": {
|
|
1824
|
-
"version": "
|
|
1825
|
-
"resolved": "https://registry.npmjs.org/@sitespeed.io/chromedriver/-/chromedriver-
|
|
1826
|
-
"integrity": "sha512-
|
|
1824
|
+
"version": "133.0.6943-53",
|
|
1825
|
+
"resolved": "https://registry.npmjs.org/@sitespeed.io/chromedriver/-/chromedriver-133.0.6943-53.tgz",
|
|
1826
|
+
"integrity": "sha512-AnzM2FoKEkdjCFAiC/zIJSjoHZmMxHL1utNyBAggXz+RsazC0v09RIGOS8cF2tmGEwJP9I47z56l98w4pGaS9w==",
|
|
1827
1827
|
"hasInstallScript": true,
|
|
1828
1828
|
"dependencies": {
|
|
1829
1829
|
"node-downloader-helper": "2.1.9",
|
|
@@ -3329,12 +3329,12 @@
|
|
|
3329
3329
|
}
|
|
3330
3330
|
},
|
|
3331
3331
|
"node_modules/browsertime": {
|
|
3332
|
-
"version": "24.
|
|
3333
|
-
"resolved": "https://registry.npmjs.org/browsertime/-/browsertime-24.
|
|
3334
|
-
"integrity": "sha512-
|
|
3332
|
+
"version": "24.2.0",
|
|
3333
|
+
"resolved": "https://registry.npmjs.org/browsertime/-/browsertime-24.2.0.tgz",
|
|
3334
|
+
"integrity": "sha512-qC4sLm1tf18xdc5Hirpd6RRd4mz8T2dv+/7iImHG3U6BC8GoIio0picEBbtdB8dFXp0VgCBQwg1nFeSIf/HXBA==",
|
|
3335
3335
|
"dependencies": {
|
|
3336
3336
|
"@devicefarmer/adbkit": "3.3.8",
|
|
3337
|
-
"@sitespeed.io/chromedriver": "
|
|
3337
|
+
"@sitespeed.io/chromedriver": "133.0.6943-53",
|
|
3338
3338
|
"@sitespeed.io/edgedriver": "132.0.2957-115",
|
|
3339
3339
|
"@sitespeed.io/geckodriver": "0.35.0-1",
|
|
3340
3340
|
"@sitespeed.io/log": "0.2.6",
|
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.3.0",
|
|
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",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"@tgwf/co2": "0.16.4",
|
|
90
90
|
"@slack/webhook": "7.0.4",
|
|
91
91
|
"axe-core": "4.10.2",
|
|
92
|
-
"browsertime": "24.
|
|
92
|
+
"browsertime": "24.2.0",
|
|
93
93
|
"coach-core": "8.1.1",
|
|
94
94
|
"dayjs": "1.11.11",
|
|
95
95
|
"fast-crc32c": "2.0.0",
|