Add scripts for running perf and callgrind.

This commit is contained in:
Tom Alexander
2023-08-21 01:26:52 -04:00
parent 8561fdc1bd
commit 655af88cdf
4 changed files with 43 additions and 10 deletions

View File

@@ -40,10 +40,16 @@ tracing-subscriber = { version = "0.3.17", optional = true, features = ["env-fil
walkdir = "2.3.3"
[features]
default = ["compare", "tracing"]
default = ["compare"]
compare = []
tracing = ["dep:opentelemetry", "dep:opentelemetry-otlp", "dep:opentelemetry-semantic-conventions", "dep:tokio", "dep:tracing", "dep:tracing-opentelemetry", "dep:tracing-subscriber"]
[profile.release]
[profile.release-lto]
inherits = "release"
lto = true
strip = "symbols"
[profile.perf]
inherits = "release"
lto = true
debug = true