diff --git a/docs/documentation/sitespeed.io/configuration/config.md b/docs/documentation/sitespeed.io/configuration/config.md index 72e3e0e1b6..3cb7afde0b 100644 --- a/docs/documentation/sitespeed.io/configuration/config.md +++ b/docs/documentation/sitespeed.io/configuration/config.md @@ -44,6 +44,7 @@ Browser --browsertime.videoParams.convert, --videoParams.convert Convert the original video to a viewable format (for most video players). Turn that off to make a faster run. [boolean] [default: true] --browsertime.cpu, --cpu Easy way to enable both chrome.timeline and CPU long tasks for Chrome and geckoProfile for Firefox [boolean] --browsertime.userTimingAllowList, --userTimingAllowList This option takes a regex that will whitelist which userTimings to capture in the results. All userTimings are captured by default. + --browsertime.userTimingBlockList, --userTimingBlockList This option takes a regex that works like `userTimingAllowList`, but instead of allowing, it blocks specific userTimings from being captured. --axe.enable Run axe tests. Axe will run after all other metrics is collected and will add some extra time to each test. [boolean] -r, --browsertime.requestheader, --requestheader Request header that will be added to the request. Add multiple instances to add multiple request headers. Use the following format key:value. Only works in Chrome, Firefox and Edge. --browsertime.cookie, --cookie Cookie that will be added to the request. Add multiple instances to add multiple cookies. Use the following format cookieName=cookieValue. Only works in Chrome and Firefox. diff --git a/lib/cli/cli.js b/lib/cli/cli.js index 7e055c05c3..c288d35bc4 100644 --- a/lib/cli/cli.js +++ b/lib/cli/cli.js @@ -635,6 +635,12 @@ export async function parseCommandLine() { 'This option takes a regex that will whitelist which userTimings to capture in the results. All userTimings are captured by default.', group: 'Browser' }) + .option('browsertime.userTimingBlockList', { + alias: 'userTimingBlockList', + describe: + 'This option takes a regex that works like `userTimingAllowList`, but instead of allowing, it blocks specific userTimings from being captured.', + group: 'Browser' + }) .option('axe.enable', { type: 'boolean', describe: