aboutsummaryrefslogtreecommitdiff
path: root/docs/dev
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2021-02-09 16:29:40 +0000
committerAleksey Kladov <[email protected]>2021-02-09 17:25:39 +0000
commit4b1279d0b160d98c1429ca1a52b37aa7a0af5775 (patch)
tree8b71d80a070120904b76fca78d8db45b3000e9b3 /docs/dev
parent9ea2c96ddd0ad8c8898f1c65667a57a78ba2218c (diff)
Infra for "unit" benchmarking
Diffstat (limited to 'docs/dev')
-rw-r--r--docs/dev/architecture.md5
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
403TBA, 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.