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!
24 lines
496 B
TOML
24 lines
496 B
TOML
[package]
|
|
edition = "2018"
|
|
name = "ra_batch"
|
|
version = "0.1.0"
|
|
authors = ["rust-analyzer developers"]
|
|
|
|
[dependencies]
|
|
log = "0.4.5"
|
|
rustc-hash = "1.0"
|
|
|
|
ra_vfs = "0.2.0"
|
|
ra_syntax = { path = "../ra_syntax" }
|
|
ra_db = { path = "../ra_db" }
|
|
ra_ide_api = { path = "../ra_ide_api" }
|
|
ra_hir = { path = "../ra_hir" }
|
|
ra_project_model = { path = "../ra_project_model" }
|
|
|
|
[dependencies.ra_prof]
|
|
path = "../ra_prof"
|
|
# features = [ "cpuprofiler" ]
|
|
|
|
[dev-dependencies]
|
|
test_utils = { path = "../test_utils" }
|