Skip to content

Commit

Permalink
test,doc: correct documentation for runBenchmark()
Browse files Browse the repository at this point in the history
The function only takes two arguments.

PR-URL: #40683
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Voltrex <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
Trott authored and BethGriggs committed Nov 25, 2021
1 parent c12ce89 commit c593cff
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/common/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,9 @@ This directory contains modules used to test the Node.js implementation.

The `benchmark` module is used by tests to run benchmarks.

### `runBenchmark(name, args, env)`
### `runBenchmark(name, env)`

* `name` [\<string>][<string>] Name of benchmark suite to be run.
* `args` [\<Array>][<Array>] Array of environment variable key/value pairs (ex:
`n=1`) to be applied via `--set`.
* `env` [\<Object>][<Object>] Environment variables to be applied during the
run.

Expand Down

0 comments on commit c593cff

Please sign in to comment.