24 Pull Requests
GoogleChrome

GoogleChrome/lighthouse

Automated auditing, performance metrics, and best practices for the web.
JavaScript
View on GitHub https://developer.chrome.com/docs/lighthouse/overview/
help-wanted
good first issue
feature
bug
Contribulator score: 39 Last scored 2023-10-23 10:38:23 UTC
Contributors (2)
  • paulirish
  • sanjsanj

Pull requests (18)

paulirish

report(categories): performance first, then pwa, then the others to GoogleChrome/lighthouse 2017-12-19 23:41:21 UTC

image

Also a driveby fix on PWA's manual audits to match the manual audit text we used for a11y's.

fixes #3599

paulirish

misc(viewer): retain /plots/ when deploying new viewer version to GoogleChrome/lighthouse 2017-12-18 19:03:55 UTC

now we have both:

  • https://googlechrome.github.io/lighthouse/plots/
  • https://googlechrome.github.io/lighthouse/viewer/ (updated to 2.7.0!)
sanjsanj

core(rel=noopener-audit): Only test http/https links to GoogleChrome/lighthouse 2017-12-12 19:33:22 UTC

Closes #3714

Only filter anchor links that start with an http protocol for the rel=noopener audit.

paulirish

core: upstream patches from downstream consumer (WIP) to GoogleChrome/lighthouse 2017-12-12 19:24:39 UTC

For early review. Initial patches by jzfeng.

I expect we'll make some changes to these before landing. Let's take a look to see how we want to upstream these.

paulirish

report(perf-audits): adjust presentation of runtime cost audits to GoogleChrome/lighthouse 2017-12-09 00:19:57 UTC

I noticed and fixed some inconsistencies

  • main thread work breakdown was always showing in diagnostics, even if total cost was just 40ms.
  • bootup time audit was saying "is high" but only when the audit was passing.
  • now the fai…
paulirish

core(web-inspector): keep all experiments disabled to GoogleChrome/lighthouse 2017-12-07 22:47:23 UTC

this fixes a conflict when LH runs in the devtools worker:

image

paulirish

misc(codeowners): represent brendan's leave to GoogleChrome/lighthouse 2017-12-05 19:14:58 UTC

@brendankenny is AFK for a little while, hanging with JGK.

So this'll remove the reviewer expectation on pending PRs.

Super happy to revert this whenever ready.

paulirish

remove mobile cli option. add test to assert no dead cli options. to GoogleChrome/lighthouse 2016-12-16 08:16:07 UTC

I noticed the CLI still mentioned the mobile flag. whoops.
image

Removed it.
Added a test to catch undocumented CLI options.

paulirish

bump axe-core, as it's now 8x faster to GoogleChrome/lighthouse 2016-12-13 22:53:04 UTC

Big win if you've ever seen the "Retrieving: Accessibility…" message for longer than you'd expect.

Fixes #630

Over in https://github.com/dequelabs/axe-core/issues/240 we reported some perf issues to the axe-core team. They've no…

paulirish

FMP metrics: Don't require tracingStartedInPage to precede navStart to GoogleChrome/lighthouse 2016-12-13 17:42:09 UTC

The short version is: sometimes traces have the tracingStartedInPage event following after the navigationStart. We use the former to find our renderer thread of interest. The navStart is the time origin for all our metrics.

This P…

paulirish

Upgrade ESLint and eslint-config-google to latest to GoogleChrome/lighthouse 2016-12-10 02:39:18 UTC

Gives us some nice benefits including newer rules that have been shipped recently. One-such is prefer-const.

[The total diff in eslint-config-google is here.](https://github.com/google/eslint-config-google/compare/7e75458986cf14982e…

paulirish

add includeTrace to runnerOpts. Includes traces object in return value. to GoogleChrome/lighthouse 2016-12-07 01:38:34 UTC

If this config value is passed to the Runner.run then the big return value will include the traces artifact.

This enables something like:

<a href="https://gyazo.com/91894b27564fd54608c25b9b94697206">
<img src="https://cloud.gith…

paulirish

extra checks for printer.js existing. to GoogleChrome/lighthouse 2016-12-06 02:36:06 UTC

Cheap fix, but I think we don't need anything more substantial.

fixes #1101

paulirish

don't emit script tags in devtools report. to GoogleChrome/lighthouse 2016-12-03 01:36:46 UTC

Our devtools integration is that the report is hosted in and iframe (with a blob url).

DevTools has a CSP policy: https://github.com/ChromeDevTools/devtools-frontend/blob/master/front_end/inspector.html#L10
It prevents inline scripts…

paulirish

move helpText toggle to pure CSS to GoogleChrome/lighthouse 2016-12-03 00:40:54 UTC

In the DevTools panel we can't run inline script in our iframe, so I'm moving this critical functionality to CSS. :)

That means we can simplify lighthouse-report.js considerably, and only do the print().

paulirish

Fix search/replace of document.currentScript, broken in #1095 to GoogleChrome/lighthouse 2016-12-02 21:58:12 UTC

In the #1095 PR I broke a fairly brittle search/replace in traceviewer's code.
When the replace didn't happen, it broke the extension from running. :)

paulirish

traceviewer-js files: drop whitespace & comments to GoogleChrome/lighthouse 2016-12-02 00:30:50 UTC

The diff looks big, but the only important one is in lighthouse-core/scripts/build-traceviewer-module.js

We want to keep the lighthouse-background.js filesize in check, and this reduces the footprint of traceviewer in it from 950kb …

paulirish

remove jszip dependency for traceviewer. to GoogleChrome/lighthouse 2016-12-02 00:27:46 UTC

We had this in to make traceviewer work, but as we don't expect any gzipped traces to be fed into the traceviewer importer, we don't really need it.
It's replaced with an empty module stub, and the codepath is never actually hit.

  • Sponsored by  DNSimple,  Octobox &  Bugsnag
  • About
  • How to contribute?
  • Contributor pledge
  • API
  • Unsubscribe
    •  English
    •  Español
    •  Ελληνικά
    •  Português do Brasil
    •  Suomi
    •  Français
    •  Deutsch
    •  Русский
    •  Українська
    •  ไทย
    •  Italiano
    •  Norsk bokmål
    •  தமிழ்
    •  Tr
    •  简体中文
    •  正體中文
    •  日本語
    •  Čeština
    •  हिंदी
    •  Polski
    • Translate into your language!