Document benchmarks in readme
type: documentation
This commit is contained in:
parent
4e6b475470
commit
f832605d81
13
README.md
13
README.md
|
@ -35,6 +35,7 @@ For more about the project and its goals, check out
|
||||||
- [Release Updates](#release-updates)
|
- [Release Updates](#release-updates)
|
||||||
- [Chat](#chat)
|
- [Chat](#chat)
|
||||||
- [Contributing](#contributing)
|
- [Contributing](#contributing)
|
||||||
|
- [Benchmarks](#benchmarks)
|
||||||
- [Semantic Versioning](#semantic-versioning)
|
- [Semantic Versioning](#semantic-versioning)
|
||||||
- [Unstable Features](#unstable-features)
|
- [Unstable Features](#unstable-features)
|
||||||
- [Source Signatures](#source-signatures)
|
- [Source Signatures](#source-signatures)
|
||||||
|
@ -269,6 +270,18 @@ fixes:
|
||||||
The only required field is `type`. To see the possible values for `type`, run
|
The only required field is `type`. To see the possible values for `type`, run
|
||||||
`cargo run --package gen commit-types`.
|
`cargo run --package gen commit-types`.
|
||||||
|
|
||||||
|
## Benchmarks
|
||||||
|
|
||||||
|
Performance benchmarks can be run with:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
$ cargo bench --features bench
|
||||||
|
```
|
||||||
|
|
||||||
|
The benchmark framework used is [`criterion`](https://github.com/bheisler/criterion.rs).
|
||||||
|
|
||||||
|
The bench targets themselves are in the `benches` directory. These targets call benchmarking functions in `src/benches.rs`, which are only enabled when the `bench` feature is enabled.
|
||||||
|
|
||||||
## Semantic Versioning
|
## Semantic Versioning
|
||||||
|
|
||||||
Intermodal follows [semantic versioning](https://semver.org/).
|
Intermodal follows [semantic versioning](https://semver.org/).
|
||||||
|
|
|
@ -245,6 +245,18 @@ fixes:
|
||||||
The only required field is `type`. To see the possible values for `type`, run
|
The only required field is `type`. To see the possible values for `type`, run
|
||||||
`cargo run --package gen commit-types`.
|
`cargo run --package gen commit-types`.
|
||||||
|
|
||||||
|
## Benchmarks
|
||||||
|
|
||||||
|
Performance benchmarks can be run with:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
$ cargo bench --features bench
|
||||||
|
```
|
||||||
|
|
||||||
|
The benchmark framework used is [`criterion`](https://github.com/bheisler/criterion.rs).
|
||||||
|
|
||||||
|
The bench targets themselves are in the `benches` directory. These targets call benchmarking functions in `src/benches.rs`, which are only enabled when the `bench` feature is enabled.
|
||||||
|
|
||||||
## Semantic Versioning
|
## Semantic Versioning
|
||||||
|
|
||||||
Intermodal follows [semantic versioning](https://semver.org/).
|
Intermodal follows [semantic versioning](https://semver.org/).
|
||||||
|
|
Loading…
Reference in New Issue
Block a user