Documentation | Configuring | Rules
PerfLint is a tool to identify unexpected performance levels of a Website, using WebPageTest to obtain results.
You can install PerfLint using npm
:
npm install -g perflint
See the Command Line Interface documentation.
See the Configuring PerfLint documentation.
See the Exit Codes and Results documentation.
These results are an example of the 'Stylish' formatter.
http://example.com — http://www.webpagetest.org/results.php?test=160301_S3_1F0H
error 'SpeedIndex' is 5617 should be less than 2000 SpeedIndex
warning 'requestsDoc' is 57 should be less than 30 requestsDoc
error 'responses_404' is 1 should be 0 responses_404
✖ 3 problems (2 errors, 1 warning)
http://example.com — http://www.webpagetest.org/results.php?test=160301_S3_1F0H
warning 'SpeedIndex' is 5617 should be less than 2000 SpeedIndex
warning 'requestsDoc' is 57 should be less than 30 requestsDoc
warning 'responses_404' is 1 should be 0 responses_404
✖ 3 problems (0 errors, 3 warnings)
PerfLint found too many warnings (maximum: 1).
- Matthew Harrison-Jones (@matthojo)