13 releases

0.3.8 Jun 14, 2024
0.3.7 Jun 14, 2024
0.3.6 Jul 17, 2023
0.3.5 Mar 13, 2023
0.1.3 Apr 13, 2022

#741 in Command line utilities

Download history 38/week @ 2024-07-29 49/week @ 2024-09-23

614 downloads per month

MIT license

160KB
743 lines

psi-sample

PSI Test tool is an open source tool to assist web developers that runs Page Speed Insight test manually!

Installing

To install the psi-test tool, run inside the terminal:

cargo install psi-test

If you don't have Cargo package manager for Rust install it. For more information about installation https://doc.rust-lang.org/cargo/getting-started/installation.html

Using PSI-Test Tool

⚠️ get the google page speed insight API token here: https://developers.google.com/speed/docs/insights/v5/get-started#APIKey

Examples of how to run psi-test tool

Default

Using the default number-of-runs that is 20.

psi-test --token=<<your_token>> <<page_url>>

Passing number-of-runs flag

psi-test --token=<<your_token>> --number-of-values=10 <<page_url>>

For more information run:

psi-test --help

Dependencies

~10–23MB
~314K SLoC