browsertime 14.18.0 → 14.18.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,5 +1,10 @@
1
1
  # Browsertime changelog (we do [semantic versioning](https://semver.org))
2
2
 
3
+ ## 14.18.1 - 2022-01-24
4
+ ### Fixed
5
+ * If loading a URL failed and we retry and we logged that as an info message, but you as a user only need to know if it fails after X retries. The log message now logs at debug level [#1701](https://github.com/sitespeedio/browsertime/pull/1701).
6
+ * The summary log message `[2022-01-24 16:12:38] INFO: https://www.sitespeed.io 27 requests, TTFB: 962ms (σ917.00ms), firstPaint: 2.92s (σ3.07s), firstVisualChange: 2.94s (σ3.07s), FCP: 2.92s (σ3.07s), DOMContentLoaded: 3.22s (σ2.98s), LCP: 2.92s (σ3.07s), CLS: 0.0389 (σ0.03), TBT: 769ms (σ53.00ms), Load: 3.77s (σ3.12s), speedIndex: 2.96s (σ3.07s), visualComplete85: 2.95s (σ3.06s), lastVisualChange: 4.54s (σ3.30s) (21 runs)` that summaries all the runs used mean instead of median metric. That sucks when you do many runs and want to compare them. That is now fixed to show median number instead [#1700](https://github.com/sitespeedio/browsertime/pull/1700).
7
+
3
8
  ## 14.18.0 - 2022-01-24
4
9
  ### Added
5
10
  * Updated to Edge stable in the Docker container.
@@ -311,7 +311,7 @@ class SeleniumRunner {
311
311
  } else {
312
312
  const waitTime = (this.options.retryWaitTime || 10000) * (i + 1);
313
313
  totalWaitTime += waitTime;
314
- log.info(
314
+ log.debug(
315
315
  `URL ${url} failed to load, the ${
316
316
  this.options.browser
317
317
  } are still on ${startURI} , trying ${
@@ -16,7 +16,7 @@ module.exports = {
16
16
  } else return value;
17
17
  }
18
18
 
19
- let formatted = `${name}: ${fmt(multiple ? metric.mean : metric)}`;
19
+ let formatted = `${name}: ${fmt(multiple ? metric.median : metric)}`;
20
20
  if (extras) {
21
21
  formatted += ` (σ${fmt(metric.stddev.toFixed(2))})`;
22
22
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "description": "Browsertime",
3
- "version": "14.18.0",
3
+ "version": "14.18.1",
4
4
  "bin": "./bin/browsertime.js",
5
5
  "dependencies": {
6
6
  "@sitespeed.io/throttle": "3.0.0",