rust/crates
bors[bot] 203d5dd0d0 Merge #1443
1443: cache chalk queries r=flodiebold a=matklad

This gives a significant speedup, because chalk will call these
functions several times even withing a single revision. The only
significant one here is `impl_data`, but I figured it might be good to
cache others just for consistency.

The results I get are:

Before:

from scratch:   16.081457952s
no change:      15.846493ms
trivial change: 352.95592ms
comment change: 361.998408ms
const change:   457.629212ms

After:

from scratch:   14.910610278s
no change:      14.934647ms
trivial change: 85.633023ms
comment change: 96.433023ms
const change:   171.543296ms

Seems like a nice win!

Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
2019-06-26 16:35:22 +00:00
..
gen_lsp_server Bump cargo_metadata, ena, flexi_logger 2019-06-20 15:09:39 -04:00
ra_arena Add is_empty to Arena 2019-04-26 11:42:10 -04:00
ra_assists Review 1 2019-06-25 13:26:12 -07:00
ra_batch move ra_prof dep where it belongs 2019-06-26 13:07:26 +03:00
ra_cli move ra_prof dep where it belongs 2019-06-26 13:07:26 +03:00
ra_db Add SourceRoot::is_library, in preparation for salsa's durability 2019-06-24 12:35:07 +03:00
ra_fmt apply T! macro where it is possible 2019-05-15 15:35:47 +03:00
ra_hir cache chalk queries 2019-06-26 12:54:13 +03:00
ra_ide_api Merge #1429 2019-06-24 10:21:36 +00:00
ra_lsp_server Bump cargo_metadata, ena, flexi_logger 2019-06-20 15:09:39 -04:00
ra_mbe fix: clean up warnings 2019-06-06 10:06:46 +08:00
ra_parser Merge #1415 2019-06-24 10:10:05 +00:00
ra_prof add cpuprofile to ra_prof 2019-06-26 11:11:28 +03:00
ra_project_model Bump cargo_metadata, ena, flexi_logger 2019-06-20 15:09:39 -04:00
ra_syntax Merge #1415 2019-06-24 10:10:05 +00:00
ra_text_edit Fix clippy::match_ref_pats 2019-06-04 18:05:07 -04:00
ra_tools Update teraron version 2019-06-17 00:07:31 +06: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