browsertime 16.14.0 → 16.14.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 CHANGED
@@ -1,9 +1,15 @@
1
1
  # Browsertime changelog (we do [semantic versioning](https://semver.org))
2
2
 
3
+ ## 16.14.1 - 2022-08-26
4
+ ### Fixed
5
+ * Guard relative standard deviation agains 0 standard deviation [#1835](https://github.com/sitespeedio/browsertime/pull/1835).
3
6
  ## 16.14.0 - 2022-08-26
4
7
  ### Added
5
8
  * Collect relative standard deviation and output that in the cli output [#1834](https://github.com/sitespeedio/browsertime/pull/1834). Before we only showed the actual standard deviation, with this fix we also show it in percentage, that makes it easier if you run tests on different hardware/networks and want to compare them.
6
9
  * Collect number of processes that runs on the server that do the testing, before a test starts [#1833](https://github.com/sitespeedio/browsertime/pull/1833).
10
+
11
+ ### Fixed
12
+ * Updated to Selenium 4.4.0 and Throttle 5.0.0.
7
13
  ## 16.13.3 - 2022-08-17
8
14
 
9
15
  ### Fixed
@@ -168,7 +168,10 @@ class Statistics {
168
168
  median: parseFloat(stats.median().toFixed(decimals)),
169
169
  mean: parseFloat(stats.amean().toFixed(decimals)),
170
170
  mdev: parseFloat((stats.stddev() / Math.sqrt(stats.length)).toFixed(4)), // "standard deviation of the mean"
171
- rsd: parseFloat((100 * stats.stddev()) / stats.amean()), // Relative standard deviation
171
+ rsd:
172
+ stats.stddev() > 0
173
+ ? parseFloat((100 * stats.stddev()) / stats.amean())
174
+ : 0, // Relative standard deviation
172
175
  stddev: parseFloat(stats.stddev().toFixed(decimals))
173
176
  };
174
177
  percentiles.forEach(p => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "description": "Browsertime",
3
- "version": "16.14.0",
3
+ "version": "16.14.1",
4
4
  "bin": "./bin/browsertime.js",
5
5
  "dependencies": {
6
6
  "@cypress/xvfb": "1.2.4",