sitespeed.io 35.7.2 → 35.7.4

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 CHANGED
@@ -1,4 +1,12 @@
1
1
  # CHANGELOG - sitespeed.io (we use [semantic versioning](https://semver.org))
2
+ ## 35.7.4 - 2024-12-20
3
+ ### Fixed
4
+ * Updated to Browsertime 23.4.5 that have a fix for visual metrics running videos from mobile [#4343](https://github.com/sitespeedio/sitespeed.io/pull/4343).
5
+
6
+ ## 35.7.3 - 2024-12-18
7
+ ### Fixed
8
+ * Add validation for dataset lengths for the Wilcoxon test. Thank you [Pavel Bairov](https://github.com/Amerousful) for PR [4341](https://github.com/sitespeedio/sitespeed.io/pull/4341).
9
+ * Updated to Browsertime 23.4.4 that has a more robust check for gnirehtet configuration [#4342](https://github.com/sitespeedio/sitespeed.io/pull/4342).
2
10
 
3
11
  ## 35.7.2 - 2024-12-14
4
12
  ### Fixed
@@ -21,7 +21,11 @@ p
21
21
 
22
22
  h2 Settings
23
23
  p
24
- | The test conducted in this comparison is the #{compare.meta.testOptions.testType} test. The alternative hypothesis used for this test is "#{compare.meta.testOptions.alternative}".
24
+ | The test conducted in this comparison is the
25
+ b #{compare.meta.testOptions.testType}
26
+ | test. The alternative hypothesis used for this test is
27
+ b "#{compare.meta.testOptions.alternative}"
28
+ | .
25
29
  if compare.meta.testOptions.alternative === 'less'
26
30
  | This means that we test if the current test is significant less that the baseline tests.
27
31
  else if compare.meta.testOptions.alternative === 'greater'
@@ -13,6 +13,8 @@ def perform_test(test_type, baseline, current, **kwargs):
13
13
  return None, "Datasets are identical"
14
14
  else:
15
15
  return None, "No variability"
16
+ if (len(set(baseline)) != len(set(current))) and test_type == 'wilcoxon':
17
+ return None, "Datasets have different lengths"
16
18
 
17
19
  if test_type == 'wilcoxon':
18
20
  return wilcoxon(current, baseline, **kwargs)
@@ -31,7 +33,7 @@ for group_name, metrics in input_data['metrics'].items():
31
33
  group_results = {}
32
34
  for metric_name, metric_data in metrics.items():
33
35
  stat, p = perform_test(test_type, metric_data['baseline'], metric_data['current'], **options)
34
- if p == "No variability" or p == "Datasets are identical":
36
+ if p == "No variability" or p == "Datasets are identical" or p == "Datasets have different lengths":
35
37
  group_results[metric_name] = {'statistic': "N/A", 'p-value': p}
36
38
  else:
37
39
  group_results[metric_name] = {'statistic': stat, 'p-value': p}
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "sitespeed.io",
3
- "version": "35.7.2",
3
+ "version": "35.7.4",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "sitespeed.io",
9
- "version": "35.7.2",
9
+ "version": "35.7.4",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@aws-sdk/client-s3": "3.609.0",
@@ -15,7 +15,7 @@
15
15
  "@sitespeed.io/plugin": "0.0.6",
16
16
  "@tgwf/co2": "0.16.0",
17
17
  "axe-core": "4.10.2",
18
- "browsertime": "23.4.3",
18
+ "browsertime": "23.4.5",
19
19
  "cli-color": "2.0.4",
20
20
  "coach-core": "8.0.2",
21
21
  "concurrent-queue": "7.0.2",
@@ -3649,10 +3649,9 @@
3649
3649
  }
3650
3650
  },
3651
3651
  "node_modules/browsertime": {
3652
- "version": "23.4.3",
3653
- "resolved": "https://registry.npmjs.org/browsertime/-/browsertime-23.4.3.tgz",
3654
- "integrity": "sha512-DWz+jPcUI+3TmwAGBCa8NtfSm16AcXSVh6/omqNIy26HU1ITp4UG/JfJdLrYKWYS//U6e3xj5Fl9Xkkz7EfDYw==",
3655
- "license": "MIT",
3652
+ "version": "23.4.5",
3653
+ "resolved": "https://registry.npmjs.org/browsertime/-/browsertime-23.4.5.tgz",
3654
+ "integrity": "sha512-4iwuBdeIzTuKS0DblExZXQ0P2ZYypfw7XnmF4kex1ISMow6UAc8UEwBXj7XYsCMem2FViBHT+yLdT/G2Aa47Rw==",
3656
3655
  "dependencies": {
3657
3656
  "@cypress/xvfb": "1.2.4",
3658
3657
  "@devicefarmer/adbkit": "3.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": "35.7.2",
8
+ "version": "35.7.4",
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",
@@ -85,7 +85,7 @@
85
85
  "@tgwf/co2": "0.16.0",
86
86
  "@aws-sdk/client-s3": "3.609.0",
87
87
  "axe-core": "4.10.2",
88
- "browsertime": "23.4.3",
88
+ "browsertime": "23.4.5",
89
89
  "coach-core": "8.0.2",
90
90
  "cli-color": "2.0.4",
91
91
  "concurrent-queue": "7.0.2",