Commit Graph

51 Commits

Author SHA1 Message Date
Aleksey Kladov deed44a472 Remove support for jemalloc
We only used it for measuring memory usage, but now we can use glibc's
allocator for that just fine
2020-07-22 13:40:45 +02:00
Aleksey Kladov c88d85bbb4 Update docs/dev/README.md 2020-07-07 11:23:59 +02:00
Laurențiu Nicola 8ab0c7ffd3 Don't ping people in PRs 2020-07-06 13:59:24 +03:00
Aleksey Kladov 991850bc3c Unify magic env var name 2020-07-01 12:31:03 +02:00
Aleksey Kladov 4484908a86 Rewrite goto definition tests 2020-06-30 13:03:08 +02:00
Laurențiu Nicola 95d67ec401 Use more of FxHash* 2020-06-29 18:07:52 +03:00
Aleksey Kladov a1c327ec1c Document test minimality 2020-06-26 18:41:11 +02:00
Laurențiu Nicola 76ddface08 Fix panic in split and merge import assists 2020-06-23 16:51:07 +03:00
okaneco 3910ea5cbf Fix typos in docs/dev/README.md
Small grammar and spelling changes
2020-06-16 10:44:56 -04:00
Aleksey Kladov b5c4f2faa2 Update parser tests with env var 2020-06-15 11:02:17 +02:00
Aleksey Kladov 5413a2f962 Var naming 2020-06-15 10:33:17 +02:00
Aleksey Kladov be0bb857c1 Discourage allocation 2020-06-13 14:27:23 +02:00
Jacek Generowicz f280407d73 Fix parser test directory name in dev docs 2020-06-10 20:32:29 +02:00
Aleksey Kladov 1538206609 Explain inline tests 2020-06-10 14:12:08 +02:00
Laurențiu Nicola e3663d60bf Dev docs nits 2020-06-08 18:50:27 +03:00
Aleksey Kladov 4968321706 Don't @ people in commit messages 2020-06-08 13:19:32 +02:00
Aleksey Kladov cc07c82fef Preconditions style 2020-06-08 12:54:48 +02:00
Aleksey Kladov ee8dec5dc1 IDE API 2020-06-08 12:52:28 +02:00
Aleksey Kladov 81ffe973ac Document certain invariants 2020-06-06 19:54:41 +02:00
Aleksey Kladov ae1acbd09c Document import style 2020-06-06 19:32:45 +02:00
Veetaha 41ae7ed79f Bufgix 2020-06-04 01:48:47 +03:00
Aleksey Kladov 994006585b Start documenting review process 2020-06-03 08:28:12 +02:00
Yuki Kodama d58d6412d8 Fix names of launch configuration in dev docs 2020-05-21 03:01:37 +09:00
Aleksey Kladov 72e229fcb3 Use RA_LOG instead of RUST_LOG for logging
RUST_LOG might be set up for debugging the user's problem, slowing
down rust-analyzer considerably. That's the same reason why rustc uses
RUSTC_LOG.
2020-05-11 19:16:00 +02:00
veetaha dd5e4d4870 vscode: move docks about syntax tree to dev/README.md 2020-04-02 11:23:56 +03:00
Aleksey Kladov c855e36696 Rename config value for server Path 2020-02-18 12:35:44 +01:00
Aleksey Kladov c0fa5e2246 Rename the binary to rust-analyzer 2020-02-18 12:33:16 +01:00
Laurențiu Nicola b6b8fd9525 Replace ra_cli mentions 2020-02-17 22:07:24 +02:00
Laurențiu Nicola aadab96c9d Fix RA_PROFILE typo in docs 2020-02-17 22:05:48 +02:00
Veetaha e18661f62b docs: Freshen docs for prebuilt binaries and raLspServer setting 2020-02-09 20:19:23 +02:00
Florian Diebold 134cc70097 Docs cleanups 2020-02-08 16:15:58 +01:00
Aleksey Kladov 84dfbfbd1d Freshen Architecture.md document 2020-01-29 15:08:31 +01:00
Aleksey Kladov 1065c2bf1d Freshen dev docs a tiny bits 2020-01-29 14:45:32 +01:00
Alexander Ekdahl 1793abf4fd Update README 2019-11-29 19:36:48 -05:00
Aleksey Kladov 757e593b25 rename ra_ide_api -> ra_ide 2019-11-27 21:35:06 +03:00
Aleksey Kladov 76da22e66a Don't create a separate bin for format hook 2019-11-18 15:27:04 +03:00
memoryruins f28801b094 Update rustdoc link pt.2 2019-10-24 17:01:42 -04:00
Aleksey Kladov 5376c769f0 rename tools -> xtask 2019-10-17 23:14:05 +03:00
memoryruins 8b0e0e2a78 Update link to api rustdocs 2019-10-14 12:16:38 -04:00
Aleksey Kladov 2c70bb4dd8 document upgrade process
closes #1615
2019-07-29 12:14:11 +03:00
Aleksey Kladov ecb1327fed Overhaul installation process
The new commands are

$ cargo install-ra --client-code
$ cargo install-ra --server --jemalloc
2019-07-27 14:35:18 +03:00
Ryan Cumming 98ac62c9d7 Document the VS Code extension test framework 2019-06-26 21:38:03 +10:00
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
Aleksey Kladov 5b7012318c filter by time 2019-04-15 01:10:07 +03:00
Aleksey Kladov b228947b68 cleanup syntax 2019-04-15 01:10:07 +03:00
pcpthm 58ae6948c1 Fix issue label link in docs/dev/README.md 2019-04-04 19:51:43 +09:00
Aleksey Kladov b92a5222af link docs from dev docs, not from the main readme
If you want to **use** ra, you don't need api docs
2019-03-25 10:27:43 +03:00
Aleksey Kladov d99abe4c25 document work list 2019-03-23 12:56:47 +03:00
Aleksey Kladov d56c2f2425 explain how to launch the thing 2019-03-20 16:44:44 +03:00
Aleksey Kladov 1ad322236d remove old contributing 2019-03-20 15:34:09 +03:00