dev-bench 0.9.7

Benchmark and regression detection for Rust. Percentile stats, baseline storage, threshold gating, structured CI-gateable verdicts. Part of the dev-* verification collection.
Documentation
[package]
name = "dev-bench"
version = "0.9.7"
edition = "2021"
rust-version = "1.85"
readme = "README.md"
license = "Apache-2.0"

authors = [
    "James Gober <me@jamesgober.com>"
]

description = "Benchmark and regression detection for Rust. Percentile stats, baseline storage, threshold gating, structured CI-gateable verdicts. Part of the dev-* verification collection."

keywords = [
    "benchmark",
    "performance",
    "regression",
    "profiling",
    "ci"
]

categories = [
    "development-tools",
    "development-tools::profiling",
    "development-tools::testing"
]

documentation = "https://docs.rs/dev-bench"
repository = "https://github.com/jamesgober/dev-bench"
homepage = "https://github.com/jamesgober/dev-bench"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
dev-report = { version = "0.9", path = "../dev-report" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
# `alloc-tracking` backend. Swapped from `dhat = "0.3"` to
# `mod-alloc`'s drop-in `dhat_compat` surface in v0.9.7. The
# public API (`dev_bench::install_global_allocator!()` +
# `AllocationStats`) is unchanged; the heavy `dhat -> addr2line`
# dependency chain is gone. See v0.9.7 release note for details.
mod-alloc = { version = "0.9", path = "../mod-alloc", features = ["dhat-compat"], optional = true }

[dev-dependencies]
tempfile = "3"

[features]
default = []
alloc-tracking = ["dep:mod-alloc"]

[profile.release]
opt-level = 3
lto = "thin"