From c593cff0afa542320e01d6ef328ab23e0eea6ed1 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sun, 31 Oct 2021 21:38:56 -0700 Subject: [PATCH] test,doc: correct documentation for runBenchmark() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The function only takes two arguments. PR-URL: https://github.com/nodejs/node/pull/40683 Reviewed-By: Michaël Zasso Reviewed-By: Tobias Nießen Reviewed-By: Richard Lau Reviewed-By: Voltrex Reviewed-By: Luigi Pinca --- test/common/README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/common/README.md b/test/common/README.md index d7387cef7b298b..076cef2dd295c1 100644 --- a/test/common/README.md +++ b/test/common/README.md @@ -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` [\][] Name of benchmark suite to be run. -* `args` [\][] Array of environment variable key/value pairs (ex: - `n=1`) to be applied via `--set`. * `env` [\][] Environment variables to be applied during the run.