Tracing code is not included in normal release builds Documents how to use them in our performance docs Only the maps and cursors are instrumented atm # Compile times: current main: fresh release build (cargo clean then build --release) 377.34 secs current main: fresh debug build (cargo clean then build ) 89.31 secs tracing tracy: fresh release build (cargo clean then build --release) 374.84 secs tracing tracy: fresh debug build (cargo clean then build ) 88.95 secs tracing tracy: fresh release build with timings (cargo clean then build --release --features tracing) 375.77 secs tracing tracy: fresh debug build with timings (cargo clean then build --features tracing) 90.03 secs Release Notes: - N/A --------- Co-authored-by: localcc <work@localcc.cc>
38 lines
725 B
TOML
38 lines
725 B
TOML
[package]
|
|
name = "rope"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/rope.rs"
|
|
|
|
[dependencies]
|
|
arrayvec = "0.7.1"
|
|
log.workspace = true
|
|
rayon.workspace = true
|
|
sum_tree.workspace = true
|
|
unicode-segmentation.workspace = true
|
|
util.workspace = true
|
|
ztracing.workspace = true
|
|
tracing.workspace = true
|
|
|
|
[dev-dependencies]
|
|
ctor.workspace = true
|
|
gpui = { workspace = true, features = ["test-support"] }
|
|
rand.workspace = true
|
|
util = { workspace = true, features = ["test-support"] }
|
|
criterion.workspace = true
|
|
zlog.workspace = true
|
|
|
|
[[bench]]
|
|
name = "rope_benchmark"
|
|
harness = false
|
|
|
|
[package.metadata.cargo-machete]
|
|
ignored = ["tracing"]
|