All Projects → tallnerds → howfast

tallnerds / howfast

Licence: other
A simple CLI for generating more accurate data from Lighthouse reports.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to howfast

Pagespeed exporter
Prometheus pagespeed exporter
Stars: ✭ 149 (+893.33%)
Mutual labels:  pagespeed, lighthouse
Docker Google Lighthouse
Google Lighthouse - Docker Image
Stars: ✭ 46 (+206.67%)
Mutual labels:  pagespeed, lighthouse
pagespeedParseR
pagespeedParseR is an R wrapper for Google Pagespeed Insights API, that also enables convenient parsing
Stars: ✭ 20 (+33.33%)
Mutual labels:  pagespeed
react-lighthouse-viewer
A React component used for rendering Lighthouse JSON reports Demo:
Stars: ✭ 49 (+226.67%)
Mutual labels:  lighthouse
plugin-lighthouse
A simple sitespeed.io lighthouse plugin to collect few performance metrics
Stars: ✭ 14 (-6.67%)
Mutual labels:  lighthouse
vue-seo-friendly-spa-template
Vue.js PWA/SPA template initially scaffolded with vue-cli and configured for SEO. Makes use of prerendering and other techniques/packages in order to achieve a perfect "Lighthouse Score".
Stars: ✭ 41 (+173.33%)
Mutual labels:  lighthouse
nuxt-speedkit
nuxt-speedkit will help you to improve the lighthouse performance score (100/100) of your website.
Stars: ✭ 401 (+2573.33%)
Mutual labels:  lighthouse
wptide
🌊 Tide is a series of automated tests run against every WordPress.org theme and plugin
Stars: ✭ 77 (+413.33%)
Mutual labels:  lighthouse
uPyEcho
Emulated Belkin WeMo device that works with Amazon Echo (Alexa) using MicroPython on an ESP32
Stars: ✭ 44 (+193.33%)
Mutual labels:  lighthouse
quasar-starter-ssr-pwa-jest-cypress
Accelerated starter kit for building a quasar 17 app.
Stars: ✭ 49 (+226.67%)
Mutual labels:  lighthouse
site-audit-seo
Web service and CLI tool for SEO site audit: crawl site, lighthouse all pages, view public reports in browser. Also output to console, json, csv, xlsx, Google Drive.
Stars: ✭ 91 (+506.67%)
Mutual labels:  lighthouse
docker-alpine-nginx-pagespeed
Dockerized Nginx with PageSpeed Module on Alpine Linux
Stars: ✭ 28 (+86.67%)
Mutual labels:  pagespeed
teti
CLI for testing DOM timings built upon Headless Chrome & Lighthouse 💜
Stars: ✭ 14 (-6.67%)
Mutual labels:  lighthouse
jekyll-loading-lazy
🧙🏽‍♀️ Automatically adds loading="lazy" to <img> and <iframe> tags. Load images on your sites lazily without JavaScript.
Stars: ✭ 41 (+173.33%)
Mutual labels:  pagespeed
phpinsights
A versatile PHP Library for Google PageSpeed Insights
Stars: ✭ 109 (+626.67%)
Mutual labels:  pagespeed
nuxt-delay-hydration
Improve your Nuxt.js v2 Google Lighthouse score by delaying hydration ⚡️
Stars: ✭ 135 (+800%)
Mutual labels:  lighthouse
awesome-performance-testing
A collection of awesome performance testing resources
Stars: ✭ 125 (+733.33%)
Mutual labels:  pagespeed
PageSpeed-Badges
Flex your perf muscles 💪 Badges for displaying PageSpeed Insights stats
Stars: ✭ 12 (-20%)
Mutual labels:  pagespeed
thvu-blog
My digital home on the internet.
Stars: ✭ 51 (+240%)
Mutual labels:  lighthouse
joomla-pythagoras
Joomla Pythagoras Repository
Stars: ✭ 19 (+26.67%)
Mutual labels:  lighthouse

howfast

CircleCI

A simple CLI for generating more accurate data from Lighthouse reports.

Installation

The easiest way to install is to globally install via npm.

npm install -g @tallnerds/howfast

Usage

To see up to date usage, you can always run

howfast -h

Here is a typical example of hitting a site 5 times

howfast -s https://google.com -t 5

Here is an example of hitting a site that requires an Authorization header

howfast -s https://google.com -a 'Basic aG93ZmFzdDpyb2Nrcw=='

By default, this will also generate a json file with all of the metrics you would need to do more detailed analysis. Upon completing the runs, it will open this file automatically for you. By default, this file is stored in /tmp, but can be modified with the -f flag.

howfast -s https://google.com -t 5 -f ~/Downloads

Lastly, if you are creating a PR and want to quickly generate some markup, you can change the report type to html using the --html flag. This will give you a generated html file (rather than json) with the results displayed in different ways (json, markdown, etc).

howfast -s https://google.com -t 5 -f ~/Downloads --html

Reports

There are 2 types of reports that can be generated from this tool: json and html.

Json

The default report output is json. Here is the generate structure of the json file:

{
  "metricName": {
    "label": "<[string] label>",
    "scorePath": "<[string] path to score in original lighthouse data>",
    "metricPath": "<[string] [optional] path to metric in original lighthouse data>",
    "average": {
      "score": "[number]",
      "numericValue": "[number]"
    },
    "median": {
      "score": "[number]",
      "numericValue": "[number]"
    },
    "actual": {
      "scores": "[array<number>]",
      "numericValues": "[array<number>]"
    }
  }
}

Here is a nice visual representation

Contributing

Re-render Usage Gif

We use a really neat-o tool for generating the console gif above. To re-render, simply re-record

terminalizer record terminal-demo

tweak the settings at ./terminal-demo.yml

and record

terminalizer render terminal-demo
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].