rust/crates
bors[bot] 2cb85c14b6
Merge #11281
11281: ide: parallel prime caches r=jonas-schievink a=jhgg

cache priming goes brrrr... the successor to #10149

---

this PR implements a parallel cache priming strategy that uses a topological work queue to feed a pool of worker threads the crates to index in parallel.

## todo
- [x] should we keep the old prime caches?
- [x] we should use num_cpus to detect how many cpus to use to prime caches. should we also expose a config for # of worker CPU threads to use?
- [x] something is wonky with cancellation, need to figure it out before this can merge. 

Co-authored-by: Jake Heinz <jh@discordapp.com>
2022-01-25 16:03:35 +00:00
..
base_db Merge #11069 2021-12-20 16:50:35 +00:00
cfg Bump MSRV (1.57) 2021-12-16 01:56:12 +05:00
flycheck Bump MSRV (1.57) 2021-12-16 01:56:12 +05:00
hir fix: don't panic in semantics due to cfg_attr disrupting offsets 2022-01-23 17:42:38 +01:00
hir_def Make syntax bridge fully infallible 2022-01-24 17:27:39 +01:00
hir_expand Make syntax bridge fully infallible 2022-01-24 17:27:39 +01:00
hir_ty Bump chalk 2022-01-21 19:51:21 +02:00
ide Merge #11281 2022-01-25 16:03:35 +00:00
ide_assists format 2022-01-14 22:13:45 +00:00
ide_completion Temporarily disable format string completions 2022-01-17 09:30:35 +02:00
ide_db Remove spurious format 2022-01-19 13:37:25 -06:00
ide_diagnostics Allow macros to expand to or-patterns 2022-01-17 16:52:53 +01:00
ide_ssr compress 2021-12-28 19:17:34 +03:00
limit Bump MSRV (1.57) 2021-12-16 01:56:12 +05:00
mbe Make syntax bridge fully infallible 2022-01-24 17:27:39 +01:00
parser Allow macros to expand to or-patterns 2022-01-17 16:52:53 +01:00
paths Bump MSRV (1.57) 2021-12-16 01:56:12 +05:00
proc_macro_api Merge #11028 2021-12-20 13:45:35 +00:00
proc_macro_srv Shrink diagnostic spans for errors inside macros 2022-01-08 15:40:42 +01:00
proc_macro_test Bump MSRV (1.57) 2021-12-16 01:56:12 +05:00
profile Generate AnyHasDocComments node 2022-01-07 12:38:18 +01:00
project_model Update tests 2022-01-18 18:27:29 +01:00
rust-analyzer Merge #11281 2022-01-25 16:03:35 +00:00
sourcegen Bump MSRV (1.57) 2021-12-16 01:56:12 +05:00
stdx Generate AnyHasDocComments node 2022-01-07 12:38:18 +01:00
syntax Move format specifier lexing from syntax to ide_db 2022-01-15 13:14:59 +01:00
test_utils fix: Do not complete Drop::drop, complete std::mem::drop instead 2021-12-22 02:25:38 +01:00
text_edit Bump MSRV (1.57) 2021-12-16 01:56:12 +05:00
toolchain Bump MSRV (1.57) 2021-12-16 01:56:12 +05:00
tt Bump MSRV (1.57) 2021-12-16 01:56:12 +05:00
vfs Bump MSRV (1.57) 2021-12-16 01:56:12 +05:00
vfs-notify Bump MSRV (1.57) 2021-12-16 01:56:12 +05:00