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-autoload/Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'crates/mozart-autoload') diff --git a/crates/mozart-autoload/Cargo.toml b/crates/mozart-autoload/Cargo.toml index 6aba8ab..84ec08a 100644 --- a/crates/mozart-autoload/Cargo.toml +++ b/crates/mozart-autoload/Cargo.toml @@ -11,6 +11,7 @@ md5.workspace = true regex.workspace = true serde.workspace = true serde_json.workspace = true +tracing.workspace = true [dev-dependencies] tempfile.workspace = true -- cgit v1.3.1