From 2c243a3cb814939bbe40fda1608781825ab0d77d Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 22 Feb 2026 10:29:19 +0900 Subject: feat(tracing): add performance profiling via tracing crate Wire up the existing --profile flag with tracing-subscriber to emit span timings on stderr. Supports MOZART_LOG env var override and verbose-level-aware filtering. No subscriber is installed when --profile is off, keeping tracing macros zero-cost. Co-Authored-By: Claude Opus 4.6 --- crates/mozart-core/Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/mozart-core/Cargo.toml') diff --git a/crates/mozart-core/Cargo.toml b/crates/mozart-core/Cargo.toml index 25210be..85a5c9f 100644 --- a/crates/mozart-core/Cargo.toml +++ b/crates/mozart-core/Cargo.toml @@ -10,6 +10,7 @@ dialoguer.workspace = true regex.workspace = true serde.workspace = true serde_json.workspace = true +tracing.workspace = true [dev-dependencies] tempfile.workspace = true -- cgit v1.3.1