rust-analyzer/crates/ra_hir/src
bors[bot] c6c88070c4 Merge #1068
1068: profiling crate first draft r=matklad a=pasa

I've made this first draft for #961 
Could you look at it? Is this something what you are looking for?
It has lack of tests. I can't figure out how to test stderr output in rust right now. Do you have some clues?
Additionally I'm thinking about to implement procedural  macros to annotate methods with this profiler. Will it be helpful?



Co-authored-by: Sergey Parilin <sergey.parilin@fxdd.com>
2019-04-03 09:09:11 +00:00
..
code_model_impl always produce source for import 2019-04-02 17:58:04 +03:00
expr made ExprCollector pub(crate) and moved 2019-04-02 19:22:06 +01:00
nameres always produce source for import 2019-04-02 17:58:04 +03:00
ty Merge #1076 2019-04-02 19:01:54 +00:00
adt.rs rename flavor to kind 2019-04-02 12:53:44 +03:00
code_model_api.rs Merge #1076 2019-04-02 19:01:54 +00:00
code_model_impl.rs Add const type inference 2019-02-25 10:51:46 +02:00
db.rs Added const bodies and static body to the ast 2019-04-02 19:21:36 +01:00
diagnostics.rs tweak diagnostics API 2019-03-25 10:52:50 +03:00
docs.rs Make doc comments optional 2019-01-26 10:35:23 -05:00
expr.rs Merge #1076 2019-04-02 19:01:54 +00:00
generics.rs rename persistent hir database -> def database 2019-03-23 15:44:24 +03:00
ids.rs reduce visibility 2019-03-26 19:15:39 +03:00
impl_block.rs rename persistent hir database -> def database 2019-03-23 15:44:24 +03:00
lib.rs Merge #1076 2019-04-02 19:01:54 +00:00
marks.rs Merge #982 2019-03-17 21:41:37 +00:00
mock.rs tweak diagnostics API 2019-03-25 10:52:50 +03:00
module_tree.rs Replace module_tree with CrateDefMap 2019-03-17 12:49:07 +03:00
name.rs make Name::new private 2019-03-20 22:33:26 +03:00
nameres.rs Merge #1068 2019-04-03 09:09:11 +00:00
path.rs fix a panic with glob-import missing a source map 2019-04-02 13:26:09 +03:00
resolve.rs Clean up comments / use nicer Iterator methods 2019-03-25 21:28:36 +01:00
source_binder.rs Merge #1076 2019-04-02 19:01:54 +00:00
source_id.rs rename 2019-03-26 19:11:01 +03:00
traits.rs Basics for trait method resolution 2019-03-25 21:28:36 +01:00
ty.rs Implement a very naive implements check 2019-03-25 21:28:36 +01:00
type_alias.rs rename persistent hir database -> def database 2019-03-23 15:44:24 +03:00
type_ref.rs Remove TypeRef from item opts which implement TypeAscriptionOwner 2019-02-27 14:08:09 +02:00