rust/crates
Aleksey Kladov 6314e62cfb add analysis-bench to benchmark incremental analysis
Can be used like this:

```
$ cargo run --release -p ra_cli -- \
  analysis-bench ../chalk/ \
  --complete ../chalk/chalk-engine/src/logic.rs:94:0

loading: 225.970093ms

from scratch:   8.492373325s
no change:      445.265µs
trivial change: 95.631242ms
```

Or like this:

```
$ cargo run --release -p ra_cli -- \
  analysis-bench ../chalk/ \
  --highlight ../chalk/chalk-engine/src/logic.rs

loading: 209.873484ms

from scratch:   9.504916942s
no change:      7.731119ms
trivial change: 124.984039ms
```

"from scratch" includes initial analysis of the relevant bits of the
project

"no change" just asks the same question for the second time. It
measures overhead on assembling the answer outside of salsa.

"trivial change" doesn't do an actual salsa change, it just advances
the revision. This test how fast is salsa at validating things.
2019-06-16 19:45:05 +03:00
..
gen_lsp_server Fix a doc test 2019-06-15 13:53:37 +06:00
ra_arena Add is_empty to Arena 2019-04-26 11:42:10 -04:00
ra_assists Implement autoderef using the Deref trait 2019-06-15 18:21:23 +02:00
ra_batch add analysis-bench to benchmark incremental analysis 2019-06-16 19:45:05 +03:00
ra_cli add analysis-bench to benchmark incremental analysis 2019-06-16 19:45:05 +03:00
ra_db make LRU_CAP configurable for batch db 2019-06-12 13:25:30 +03:00
ra_fmt apply T! macro where it is possible 2019-05-15 15:35:47 +03:00
ra_hir Add test for autoderef infinite recursion 2019-06-16 12:25:04 +02:00
ra_ide_api add analysis-bench to benchmark incremental analysis 2019-06-16 19:45:05 +03:00
ra_lsp_server reuse AnalysisHost in batch analysis 2019-06-15 16:29:23 +03:00
ra_mbe fix: clean up warnings 2019-06-06 10:06:46 +08:00
ra_parser fix: support existential type 2019-06-12 14:32:39 +00:00
ra_prof fix debug scopes 2019-06-04 14:46:22 +03:00
ra_project_model add analysis-bench to benchmark incremental analysis 2019-06-16 19:45:05 +03:00
ra_syntax Fix formatting 2019-06-16 01:45:38 +09:00
ra_text_edit Fix clippy::match_ref_pats 2019-06-04 18:05:07 -04:00
ra_tools rename tools -> ra_tools 2019-06-11 01:47:37 +03:00
ra_tt Fix clippy::needless_return 2019-06-04 18:05:07 -04:00
test_utils Fix clippy::expect_fun_call 2019-06-04 18:05:07 -04:00
thread_worker Fix clippy::single_match 2019-06-04 18:05:07 -04:00