test,doc: correct documentation for runBenchmark()

The function only takes two arguments.

PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
Rich Trott committed 2021-11-01 15:54:31 -07:00
1 parent 9bd6d526e6
commit f867b61597
1 file changed
+1 -3
+1 -3
View File
@@ -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.