Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@perfectum/cli

Package Overview
Dependencies
Maintainers
3
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@perfectum/cli

Command line interface for Perfectum performance tools

  • 1.1.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

Perfectum CLI

The command-line interface for convenient work with Perfectum performance tools :computer:

Perfectum CLI

Installation

yarn global add @perfectum/cli

Usage

perfectum <command> <options>

Commands

audit

Description

Running a project performance audit using @perfectum/synthetic library

Example

perfectum audit --urls.main="https://www.example.com" --config="./perfectum.json"

Options

--urls, -u                              URLs whose performance you want to audit                           [object]

--config, -c                            Path to configuration file                                         [string]

--numberOfAuditRuns, -n                 Number of performance audit runs                                   [number]

--authenticationScriptPath              Path to authentication script file                                 [string]

--commandExecutionContextPath           Path to execution context directory                                [string]

--skipBuildProject                      Skip the build phase of the project                                [boolean]

--skipStartProject                      Skip the start phase of the project                                [boolean]

--buildProjectCommand                   Command to build the project                                       [string]

--startProjectCommand                   Command to start the project                                       [string]

--buildProjectTimeout                   Timeout for the project build command in minutes                   [number]

--startProjectTimeout                   Timeout for the project start command in minutes                   [number]

--buildProjectCompleteStringPattern     String pattern for listening to the end of the project build       [string]

--startProjectCompleteStringPattern     String pattern for listening to the end of the project start       [string]

--clearReportFilesDirectoryBeforeAudit  Clear the directory with report files before audit                 [boolean]

--version                               Show version number                                                [boolean]

--help                                  Show help                                                          [boolean]

For a more flexible configuration of launching an audit use the Perfectum configuration file.

FAQs

Package last updated on 07 Feb 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc