Skip to content

Commit

Permalink
test,doc: correct documentation for runBemnchmark()
Browse files Browse the repository at this point in the history
The function only takes two arguments.
  • Loading branch information
Trott committed Nov 1, 2021
1 parent 86099a3 commit 27d1452
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 27d1452

Please sign in to comment.