You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: add profile_with_tracy feature which plays nicely with bevy's bevy/trace_tracy feature (#393)
# Summary
Adds `xtask` utilities for profiling a specific benchmark, as well as a
feature which plays nicely with bevy's.
I tried using an independent `profiling` setup but I think this one is
the least confusing and most in line with what bevy consumers will
already be familiar with
println!("profiling enabled, make sure to run tracy. If using it across windows/WSL you can use something like `tracy-capture.exe -o output.tracy -a localhost` on windows");
99
+
// set global tracing subscriber so bevy doesn't set it itself first
100
+
let subscriber = tracing_subscriber::Registry::default();
101
+
let tracy_layer = tracing_tracy::TracyLayer::default();
0 commit comments