rust-analyzer/crates
bors[bot] b1a2d01645
Merge #5142
5142: analysis-stats: allow parallel type inference r=matklad a=jonas-schievink

This is mostly just for testing/fun, but it looks like type inference can be sped up massively with little to no effort (since it runs after the serial phases are already done).

Without `--parallel`:

```
Item Collection: 16.43597698s, 683mb allocated 720mb resident
Inference: 25.429774879s, 1720mb allocated 1781mb resident
Total: 41.865866352s, 1720mb allocated 1781mb resident
```

With `--parallel`:

```
Item Collection: 16.380369815s, 683mb allocated 735mb resident
Parallel Inference: 7.449166445s, 1721mb allocated 1812mb resident
Inference: 143.437157ms, 1721mb allocated 1812mb resident
Total: 23.973303611s, 1721mb allocated 1812mb resident
```

Co-authored-by: Jonas Schievink <jonas.schievink@ferrous-systems.com>
2020-06-30 21:17:54 +00:00
..
expect Fix potential overflow 2020-06-27 21:35:52 +02:00
flycheck Cleanup cargo process handling in flycheck 2020-06-28 23:42:44 +02:00
paths Be more explicit about absolute paths at various places 2020-06-24 14:39:34 +02:00
ra_arena Shrink arenas after building ItemTree 2020-06-24 16:54:21 +02:00
ra_assists Use more of FxHash* 2020-06-29 18:07:52 +03:00
ra_cfg add support of feature flag for runnables #4464 2020-05-23 20:59:18 +02:00
ra_db Rewrite goto definition tests 2020-06-30 13:03:08 +02:00
ra_fmt Introduce EffectExpr 2020-05-02 11:21:39 +02:00
ra_hir (Partially) fix handling of type params depending on type params 2020-06-29 16:10:20 +02:00
ra_hir_def Remove entries_without_primitives 2020-06-30 14:06:23 +02:00
ra_hir_expand Add support for include_bytes 2020-06-27 21:02:47 +03:00
ra_hir_ty Better factoring 2020-06-30 12:14:16 +02:00
ra_ide Switch to expect for the rest of inlay tests 2020-06-30 21:55:21 +02:00
ra_ide_db Simlify with matches!() 2020-06-28 04:03:59 +03:00
ra_mbe Simlify with matches!() 2020-06-28 04:03:59 +03:00
ra_parser Simlify with matches!() 2020-06-28 04:03:59 +03:00
ra_proc_macro proc_macro: add ability to log to stderr and view output in vscode 2020-04-23 01:57:02 +03:00
ra_proc_macro_srv Update test for new serde 2020-06-21 12:10:50 -04:00
ra_prof Simplify profiler impl (bubble up Option and shorten code 2020-04-26 00:55:49 +03:00
ra_project_model Don't crash on empty out_dirs with older cargos 2020-06-30 22:12:27 +02:00
ra_ssr Fix some typos 2020-06-30 10:43:37 +10:00
ra_syntax Update the rest of the tests 2020-06-29 17:23:01 +02:00
ra_text_edit Formalize JoinLines protocol extension 2020-05-21 20:05:33 +02:00
ra_toolchain Better exe probing 2020-06-27 02:04:33 +02:00
ra_tt Simlify with matches!() 2020-06-28 04:03:59 +03:00
rust-analyzer analysis-stats: allow parallel type inference 2020-06-30 17:00:17 +02:00
stdx More principled indentation trimming in fixtures 2020-06-23 23:33:41 +02:00
test_utils Simplify most of the inlay hints tests 2020-06-30 18:04:25 +02:00
vfs Make VFS join methods fallible 2020-06-26 16:30:50 +02:00
vfs-notify Naming 2020-06-28 22:35:18 +02:00