GithubHelp home page GithubHelp logo

webperfcli's Introduction

WebPerfCli

Extract Web Vitals data with command line (Python/CLI).

WebPerfCli is a web performance CLI application to measure Web Vitals without html tags inside your code.

Just running a easy command in python terminal and you be able to see the metrics of your test.

Features

  • Import a .CSV file with all the URLs to be tested
  • You can choose between Desktop and Mobile environments
  • Export a .CSV file as output

Installation

WebPerfCli

Download the code:

git clone https://github.com/cosmicpb/WebPerfCli.git

Install dependencies:

cd WebPerfCli
pip install -r requirements.txt

Using the WebPerfCli

  1. Set the data mass: Open massa.csv file and add the URLs that need to be tested.
  2. Open the PageSpeed Insights page and get an API Key.
  3. Run the command below:
python webperf.py -d massa.csv -s desktop -k <YOUR_KEY> -o output.csv

Output

O arquivo output.csv é gravado na seguinte ordem:

dd_mm_YYYY.HH_MM_SS, URL, Status Code, LCP, CLS, TBT.

License

MIT

Developed by Paulo Baldacim Junior

Free Software, Hell Yeah!

webperfcli's People

Contributors

cosmicpb avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

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.