Skip to content

Commit

Permalink
updated instructions for test:bench script
Browse files Browse the repository at this point in the history
  • Loading branch information
martinkuba committed Oct 3, 2023
1 parent 6c9a840 commit 63a80d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/contributing/benchmark-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ suite.run();

If you want your test to run automatically with every release (to track trend over time), register the new test file by requiring it in `test/performance/benchmark/index.js`.

Add the `test:bench` script in package.json, if the module does not contain.
Add the `test:bench` script in package.json, if the module does not contain it already.

``` json
"test:bench": "node test/performance/benchmark/index.js"
"test:bench": "node test/performance/benchmark/index.js | tee .benchmark-results.txt"
```

0 comments on commit 63a80d5

Please sign in to comment.