]> git.lizzy.rs Git - rust.git/commit
add cpuprofile to ra_prof
authorAleksey Kladov <aleksey.kladov@gmail.com>
Wed, 26 Jun 2019 08:11:28 +0000 (11:11 +0300)
committerAleksey Kladov <aleksey.kladov@gmail.com>
Wed, 26 Jun 2019 08:11:28 +0000 (11:11 +0300)
commitd621533f15871ce233e3a1dcc0fb10a631090678
tree53bfceb17b0d730490e8f489c0c0611433de46e5
parent0129790a8f84a0858abcb1448e1052caa01fc41c
add cpuprofile to ra_prof

Now, one can use `let _p = ra_prof::cpu_profiler()` to capture profile
of a block of code.

This is not an out of the box experience, as that relies on gperfools

See the docs on https://github.com/AtheMathmo/cpuprofiler for more!
Cargo.lock
crates/ra_batch/Cargo.toml
crates/ra_prof/Cargo.toml
crates/ra_prof/src/lib.rs