New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rushy

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rushy

This is a tiny wrapper around [Lighthouse](https://github.com/GoogleChrome/lighthouse) with some conveniences to run continious audits on your website pages.

  • 0.1.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-61.54%
Maintainers
1
Weekly downloads
 
Created
Source

Rushy

This is a tiny wrapper around Lighthouse with some conveniences to run continious audits on your website pages.

Installation

You'll need to have Google Chrome installed, as Lighthouse runs audits using it. To install rushy just do:

yarn global add rushy

Usage

rushy --config=/path/to/your/config.json

Configuration .json file should look something like:

{
  "urls": ["http://example.com"],
  "storeDir": "./reports",
  "reporter": "html",
  "reportQuery": {
    "Time to First Byte": "$.audits['time-to-first-byte'].rawValue"
  }
}

Make sure to provide configuration suitable for your needs. More info can be found here.

When completed, the audit will be stored as a .csv file. What do next is up to you. For example, you can:

  • commit reports to your git repository
  • upload somewhere
  • build historical data, charts, etc...

Running in Parallel

The thing you might think about is speeding up your performance checks by making them parallel. Currently, the way to achieve that is to run rushy on a few machines or different containers so each instance only works on its own slice of an entire URL list.

To do so, please run the tool as the following:

rushy --worker 0 --worker-count=2 --config=[path/to/config.json]

Where --worker is zero-based worker number and --worker-count stands for the total number of workers you spawn.

Internally, rushy splits the URL list in a 100% deterministic and fair way so it loads your workers evenly and each URL is never checked twice.

Using with Docker

In case you want to run checks in a Docker container you might use oleggromov/rushy image. Please make sure to read the documentation provided in the git repo oleggromov/rushy-docker.

FAQs

Package last updated on 28 Jun 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc