[go: up one dir, main page]

divan 0.1.15

Statistically-comfy benchmarking library.
Documentation
[package]
name = "divan"
version = "0.1.15"
edition = "2021"
authors = ["Nikolai Vazquez"]
license = "MIT OR Apache-2.0"
description = "Statistically-comfy benchmarking library."
repository = "https://github.com/nvzqz/divan"
homepage = "https://github.com/nvzqz/divan"
documentation = "https://docs.rs/divan"
categories = ["development-tools::profiling"]
keywords = ["benchmark", "criterion", "instrument", "measure", "performance"]
readme = "README.md"

[dependencies]
divan-macros = { version = "=0.1.15", path = "macros" }

cfg-if = "1"
clap = { version = "4", default-features = false, features = ["std", "env"] }
condtype = "1.3"
regex = { package = "regex-lite", version = "0.1", default-features = false, features = ["std", "string"] }

[target.'cfg(unix)'.dependencies]
libc = { workspace = true }

[dev-dependencies]
mimalloc = "0.1"

[features]
default = ["wrap_help"]
help = ["clap/help"]
wrap_help = ["help", "clap/wrap_help"]

# Opt out of faster static thread-local access and instead always dynamically
# allocate thread-local storage.
#
# On x86_64 macOS we use TLS key 11 (reserved for Windows ABI compatability):
# https://github.com/apple-oss-distributions/libpthread/blob/libpthread-519/private/pthread/tsd_private.h#L99
dyn_thread_local = []

# Benchmark internals. Not meant for public use.
internal_benches = []

[workspace]
members = ["macros", "examples", "internal_benches"]

[workspace.dependencies]
divan = { path = "." }
libc = "0.2.148"