browsertime 14.12.1 → 14.12.2

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,9 @@
1
1
  # Browsertime changelog (we do [semantic versioning](https://semver.org))
2
2
 
3
+ ## 14.12.2 - 2021-12-09
4
+ ### Fixed
5
+ * Added more info log to get a better feeling for what's going on [#1686](https://github.com/sitespeedio/browsertime/pull/1686).
6
+ * Fixed CPU throttling that was broken in Chrome 96 [#1685](https://github.com/sitespeedio/browsertime/pull/1685)
3
7
  ## 14.12.1 - 2021-12-01
4
8
  ### Fixed
5
9
  * Changed log level to debug for Chrome/Edge when document request fails. It turns out that IRL that happens a lot and spam the log. Lets iterate over that functionality.
@@ -23,5 +23,7 @@ module.exports = [
23
23
  '--override-https-image-compression-infobar',
24
24
  '--disable-fetching-hints-at-navigation-start',
25
25
  '--disable-dev-shm-usage',
26
+ '--disable-back-forward-cache',
27
+ '--disable-site-isolation-trials',
26
28
  '--remote-debugging-port=9222'
27
29
  ];
@@ -379,6 +379,7 @@ class Measure {
379
379
  }
380
380
 
381
381
  if (this.options.screenshot) {
382
+ log.info('Take after page complete check screenshot');
382
383
  try {
383
384
  const screenshot = await this.browser.takeScreenshot(url);
384
385
  await this.screenshotManager.save(
@@ -403,6 +404,7 @@ class Measure {
403
404
  );
404
405
 
405
406
  if (this.options.screenshotLS && supportLS) {
407
+ log.info('Take cumulative layout shift screenshot');
406
408
  await this.browser.runScript(highlightLS, 'HIGHLIGHT_LS', {
407
409
  color: this.options.screenshotLSColor || 'red',
408
410
  limit: this.options.screenshotLSLimit || 0.01
@@ -432,6 +434,7 @@ class Measure {
432
434
  );
433
435
 
434
436
  if (this.options.screenshotLCP && supportLCP) {
437
+ log.info('Take largest contentful paint screenshot');
435
438
  try {
436
439
  const lcpScriptClean = `
437
440
  const c = document.getElementById("browsertime-lcp");
@@ -106,7 +106,7 @@ module.exports = {
106
106
  scriptArgs.unshift(SCRIPT_PATH);
107
107
 
108
108
  log.debug('Running visualmetrics.py ' + scriptArgs.join(' '));
109
-
109
+ log.info('Get visual metrics from the video');
110
110
  try {
111
111
  const result = await execa(process.env.PYTHON || 'python', scriptArgs);
112
112
  log.debug('visualmetrics.py output:' + result.stdout);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "description": "Browsertime",
3
- "version": "14.12.1",
3
+ "version": "14.12.2",
4
4
  "bin": "./bin/browsertime.js",
5
5
  "dependencies": {
6
6
  "@sitespeed.io/throttle": "3.0.0",