This tool allows you check some performance values of your page. It uses puppeteer to opening the page and getting performance values from it.
To run with config (see below):
load-page-regression-test --config path/to/config/file.json
or to run with default checkers' parameters:
load-page-regression-test https://github.com https://google.com
Config file allows you specify URLs which should be check, override some values for checkers or disable some rules at all.
Config must have the following structure:
{
"URL": {
"rules": {
"RULE-NAME": { // optional
"value": NEW_VALUE_FOR_RULE, // to override checker's default parameter
"enabled": false, // to disable checker for this page - by default all checkers are enabled
}
}
},
}
Example of simple config:
{
"https://github.com": {
"rules": {
"requests-count": {
"value": 100
}
}
},
"https://www.google.com": {
"rules": {
"requests-count": {
"enabled": false
}
}
},
"https://translate.google.com": {}
}
Default: 3000
Checks when DOMCOntentLoaded
event is fired (time in milliseconds).
Default: 5000
Checks when load
event is fired (time in milliseconds).
Checks if after opening URL page is redirected to another page.
Default: 30
Count of requests which browser made until load
event is fired.
Default: 14336
(14KB)
Checks the size of opened page (transferred size) (size in bytes).
Default: 1048576
(1MB)
Checks the size of all made requests until load
event is fired (transferred size) (size in bytes).