diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-02-09 17:35:53 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-02-09 17:35:53 +0000 |
commit | 98b82859551555a1b0671c75307d56a17aa545b6 (patch) | |
tree | e5cfdfb84ff708901aca1a528403b70a54efdd1c /docs/dev | |
parent | 12c7b66a7c6963d42ab5f33a9ac3f0b30e351b69 (diff) | |
parent | 4b1279d0b160d98c1429ca1a52b37aa7a0af5775 (diff) |
Merge #7613
7613: Benchmarking infrastructure r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'docs/dev')
-rw-r--r-- | docs/dev/architecture.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/dev/architecture.md b/docs/dev/architecture.md index 7a88ebc0f..01063824f 100644 --- a/docs/dev/architecture.md +++ b/docs/dev/architecture.md | |||
@@ -397,6 +397,11 @@ There's no additional checks in CI, formatting and tidy tests are run with `carg | |||
397 | 397 | ||
398 | **Architecture Invariant:** tests do not depend on any kind of external resources, they are perfectly reproducible. | 398 | **Architecture Invariant:** tests do not depend on any kind of external resources, they are perfectly reproducible. |
399 | 399 | ||
400 | |||
401 | ### Performance Testing | ||
402 | |||
403 | TBA, take a look at the `metrics` xtask and `#[test] fn benchmark_xxx()` functions. | ||
404 | |||
400 | ### Error Handling | 405 | ### Error Handling |
401 | 406 | ||
402 | **Architecture Invariant:** core parts of rust-analyzer (`ide`/`hir`) don't interact with the outside world and thus can't fail. | 407 | **Architecture Invariant:** core parts of rust-analyzer (`ide`/`hir`) don't interact with the outside world and thus can't fail. |