mirror of https://github.com/nodejs/node.git
doc: remove "note that" from writing-and-running-benchmarks.md
Refs: https://github.com/nodejs/remark-preset-lint-node/pull/16 PR-URL: https://github.com/nodejs/node/pull/28329 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>pull/28329/head
parent
ca276253fb
commit
68cfa56d0c
|
@ -352,7 +352,7 @@ The arguments of `createBenchmark` are:
|
|||
* `configs` {Object} The benchmark parameters. `createBenchmark` will run all
|
||||
possible combinations of these parameters, unless specified otherwise.
|
||||
Each configuration is a property with an array of possible values.
|
||||
Note that the configuration values can only be strings or numbers.
|
||||
The configuration values can only be strings or numbers.
|
||||
* `options` {Object} The benchmark options. At the moment only the `flags`
|
||||
option for specifying command line flags is supported.
|
||||
|
||||
|
@ -400,7 +400,7 @@ const options = {
|
|||
// `main` and `configs` are required, `options` is optional.
|
||||
const bench = common.createBenchmark(main, configs, options);
|
||||
|
||||
// Note that any code outside main will be run twice,
|
||||
// Any code outside main will be run twice,
|
||||
// in different processes, with different command line arguments.
|
||||
|
||||
function main(conf) {
|
||||
|
|
Loading…
Reference in New Issue