rust/crates
bors[bot] eb4e84ff51
Merge #6441
6441: Coalesce prime_caches updates r=matklad a=jonas-schievink

This reduces the number of progress bar updates we send to the client by collapsing subsequent updates into one. This doesn't work as well as I'd hoped (which is that we end up sending *no* updates, or only `start` and `end`, when the cache is already fresh), but it does reduce the number considerably: instead of ~720 updates on the rust-analyzer codebase, we now only send ~60.

It uses the same approach that is already in use for coalescing VFS events.

Hopefully this is enough to fix https://github.com/rust-analyzer/rust-analyzer/issues/6413.

Co-authored-by: Jonas Schievink <jonas.schievink@ferrous-systems.com>
2020-11-02 17:12:08 +00:00
..
arena Add TBD description to arena 2020-08-24 13:29:10 +02:00
assists Remove more unreachable pubs 2020-11-02 16:58:33 +01:00
base_db Deny unreachable-pub 2020-11-02 14:07:08 +01:00
cfg cfg: move tests to separate file 2020-10-23 12:14:58 +02:00
completion Remove more unreachable pubs 2020-11-02 16:58:33 +01:00
flycheck Update crates 2020-10-20 17:36:02 -04:00
hir Remove more unreachable pubs 2020-11-02 16:58:33 +01:00
hir_def Remove more unreachable pubs 2020-11-02 16:58:33 +01:00
hir_expand Remove more unreachable pubs 2020-11-02 16:58:33 +01:00
hir_ty Bump chalk and lexer 2020-11-02 12:00:58 -05:00
ide Remove more unreachable pubs 2020-11-02 16:58:33 +01:00
ide_db Merge #6331 #6342 2020-10-24 19:08:12 +00:00
mbe Remove more unreachable pubs 2020-11-02 16:58:33 +01:00
parser Don't interpret type path as part of visibility. 2020-10-24 02:20:45 -04:00
paths Add description for crates that will be published 2020-08-24 13:07:22 +02:00
proc_macro_api Deny unreachable-pub 2020-11-02 14:07:08 +01:00
proc_macro_srv Deny unreachable-pub 2020-11-02 14:07:08 +01:00
proc_macro_test Add description for crates that will be published 2020-08-24 13:07:22 +02:00
profile Deny unreachable-pub 2020-11-02 14:07:08 +01:00
project_model Remove more unreachable pubs 2020-11-02 16:58:33 +01:00
rust-analyzer Remove debug print 2020-11-02 17:24:35 +01:00
ssr Remove more unreachable pubs 2020-11-02 16:58:33 +01:00
stdx Fix panic context 2020-10-23 15:18:33 +02:00
syntax Bump chalk and lexer 2020-11-02 12:00:58 -05:00
test_utils Fix indentation of inserted use statements 2020-10-24 18:25:23 +02:00
text_edit Actually assert disjointness 2020-09-03 13:37:36 +02:00
toolchain Add description for crates that will be published 2020-08-24 13:07:22 +02:00
tt Add description for crates that will be published 2020-08-24 13:07:22 +02:00
vfs Remove more unreachable pubs 2020-11-02 16:58:33 +01:00
vfs-notify Follow symlinks when walking project trees 2020-10-15 14:22:36 -04:00