Skip to content

Commit

Permalink
update tests/benchmarks/readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour committed May 25, 2021
1 parent 0e00fbf commit 5eeb09e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/benchmarks/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@
In future work, benchmarks can be added to CI, but for now we provide benchmarks that can be run locally.

See RFC: https://github.com/timotheecour/Nim/issues/425

## guidelines
* tests should run in CI (so the test keeps working) but should complete fast (so it doesn't slow down CI).
they should provide a knob (e.g. via `const numIter {.intdefine.} = 10`), so that users can re-run
the benchmark manually with more meaningful parameters (e.g. `-d:numIter:100_000`).

0 comments on commit 5eeb09e

Please sign in to comment.