11 releases

0.3.6 Jul 17, 2023
0.3.5 Mar 13, 2023
0.3.4 Feb 7, 2023
0.3.0 Oct 12, 2022
0.1.3 Apr 13, 2022

#338 in Development tools

MIT license

160KB
745 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–24MB
~345K SLoC