mirror of
https://github.com/nodejs/node.git
synced 2026-11-30 11:55:44 -05:00
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:
1 parent
9bd6d526e6
commit
f867b61597
1 file changed
+1
-3
@@ -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.
|
||||
|
||||
|
||||
Reference in new issue
Block a user