d621533f15
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!
13 lines
247 B
TOML
13 lines
247 B
TOML
[package]
|
|
edition = "2018"
|
|
name = "ra_prof"
|
|
version = "0.1.0"
|
|
authors = ["rust-analyzer developers"]
|
|
publish = false
|
|
|
|
[dependencies]
|
|
once_cell = "0.2.0"
|
|
itertools = "0.8.0"
|
|
backtrace = "0.3.28"
|
|
cpuprofiler = { version = "0.0.3", optional = true }
|