diff options
author | Aleksey Kladov <[email protected]> | 2021-02-09 16:29:40 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-02-09 17:25:39 +0000 |
commit | 4b1279d0b160d98c1429ca1a52b37aa7a0af5775 (patch) | |
tree | 8b71d80a070120904b76fca78d8db45b3000e9b3 /docs | |
parent | 9ea2c96ddd0ad8c8898f1c65667a57a78ba2218c (diff) |
Infra for "unit" benchmarking
Diffstat (limited to 'docs')
-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. |