Skip to content

Commit 126e669

Browse files
Trotttargos
authored andcommitted
test,doc: correct documentation for runBenchmark()
The function only takes two arguments. PR-URL: #40683 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Voltrex <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 0787c78 commit 126e669

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/common/README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,9 @@ This directory contains modules used to test the Node.js implementation.
2929

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

32-
### `runBenchmark(name, args, env)`
32+
### `runBenchmark(name, env)`
3333

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

0 commit comments

Comments
 (0)