]> git.lizzy.rs Git - rust.git/commit
Merge #1068
authorbors[bot] <bors[bot]@users.noreply.github.com>
Wed, 3 Apr 2019 09:09:11 +0000 (09:09 +0000)
committerbors[bot] <bors[bot]@users.noreply.github.com>
Wed, 3 Apr 2019 09:09:11 +0000 (09:09 +0000)
commitc6c88070c4f25cd3710f03b7461cb277de8d3cc5
treecfe6ec2fb43dcfb9a7f1c5698aaac0d17b2bf78a
parentb8e58d4a2f317fe300f13416858f33e860138c4d
parentb74449e9952846a8ea66c3507e52c24348d6dbc9
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>
Cargo.lock
crates/ra_cli/src/main.rs
crates/ra_hir/src/nameres.rs