Giter VIP home page Giter VIP logo

plugin-lighthouse's Introduction

sitespeed.io plugin for Lighthouse

Build Status

Run Lighthouse as a plugin for sitespeed.io

You can read more about sitespeed.io plugins here.

Test with current master

If you have checked out as the same level as sitespeed.io you run it like this (else just change the path).

git clone https://github.com/sitespeedio/sitespeed.io.git
cd sitespeed.io
npm install
bin/sitespeed.js --plugins.add ../plugin-lighthouse/lib/ https://www.sitespeed.io/ -n 1

Run in production

If you want to run Lighthouse with your other sitespeed.io test, follow the instructions in the add a plugin docs.

plugin-lighthouse's People

Contributors

siteriaitaliana avatar soulgalore avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

plugin-lighthouse's Issues

Is it possible to add own metrics to plugin-lighthouse?

In this video, Google Developers shows how to add custom site metrics to a lighthouse:

(from 17:58)
https://youtu.be/NoRYn6gOtVo?t=1078

Is plugin-lighthouse support that?

My end goal is to add those custom metrics to gitlab, to each merge request:

browser_performance_testing

and I already learned, that sitespeed.io can be easily integrated with gitlab ci, and lighthouse can be integrated as a plugin with sitespeed.io :)

Error occurs when running sitespeed.io

Is this known issue? Or am I missing something?

ERROR: Error creating Lighthouse result  Error: Protocol error (Tracing.start): Tracing is already started
    at callback.resolve.Promise.resolve.then._ (/sitespeed.io/plugins/plugin-lighthouse/node_modules/lighthouse/lighthouse-core/gather/connections/connection.js:104:25)
    at <anonymous>
    at process._tickDomainCallback (internal/process/next_tick.js:228:7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.