mirror of
https://github.com/uutils/coreutils
synced 2024-11-17 02:08:09 +00:00
factor: Add BENCHMARKING.md
This commit is contained in:
parent
7c287542c7
commit
12efaa6add
1 changed files with 12 additions and 0 deletions
12
src/uu/factor/BENCHMARKING.md
Normal file
12
src/uu/factor/BENCHMARKING.md
Normal file
|
@ -0,0 +1,12 @@
|
|||
# Benchmarking `factor`
|
||||
|
||||
## Microbenchmarking deterministic functions
|
||||
|
||||
We currently use [`criterion`] to benchmark deterministic functions,
|
||||
such as `gcd` and `table::factor`.
|
||||
|
||||
Those benchmarks can be simply executed with `cargo bench` as usual,
|
||||
but may require a recent version of Rust, *i.e.* the project's minimum
|
||||
supported version of Rust does not apply to the benchmarks.
|
||||
|
||||
[`criterion`]: https://bheisler.github.io/criterion.rs/book/index.html
|
Loading…
Reference in a new issue