Function: parseSomeBenchmarkParameters()
parseSomeBenchmarkParameters(
params
:BenchmarkParameters
,args
:string
[]):string
[]
Parses benchmark parameters from command line arguments and returns an array of unrecognized arguments.
Parameters
Parameter | Type | Description |
---|---|---|
params | BenchmarkParameters | Input/output argument. Contains default values of parameters that will be overridden by command line arguments. |
args | string [] | 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
- parseBenchmarkParameters for more details.
- parseParameters, parseSomeParameters for parsing only solver parameters.