Skip to main content

Function: parseSomeBenchmarkParameters()

parseSomeBenchmarkParameters(params: BenchmarkParameters, args: string[]): string[]

Parses benchmark parameters from command line arguments and returns an array of unrecognized arguments.

Parameters

ParameterTypeDescription
paramsBenchmarkParametersInput/output argument. Contains default values of parameters that will be overridden by command line arguments.
argsstring[]Command line arguments to parse. When not specified, process.argv.slice(2) is used.

Returns

string[]

An array of unrecognized arguments.

Functionally, this function is the same as parseBenchmarkParameters. However, it does not exit the application in case of an unrecognized argument. Instead, it returns an array of unrecognized arguments.

See