From 4b1279d0b160d98c1429ca1a52b37aa7a0af5775 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 9 Feb 2021 19:29:40 +0300 Subject: Infra for "unit" benchmarking --- docs/dev/architecture.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/dev') 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 **Architecture Invariant:** tests do not depend on any kind of external resources, they are perfectly reproducible. + +### Performance Testing + +TBA, take a look at the `metrics` xtask and `#[test] fn benchmark_xxx()` functions. + ### Error Handling **Architecture Invariant:** core parts of rust-analyzer (`ide`/`hir`) don't interact with the outside world and thus can't fail. -- cgit v1.2.3