Skip to content

Commit 79eb299

Browse files
nagisajames7132
authored andcommitted
bevy_log: upgrade to tracing-tracy 0.10.0 (bevyengine#4991)
This upgrade should bring some significant performance improvements to instrumentation. These are mostly achieved by disabling features (by default) that are likely not widely used by default – collection of callstacks and support for fibers that wasn't used for anything in particular yet. For callstack collection it might be worthwhile to provide a mechanism to enable this at runtime by calling `TracyLayer::with_stackdepth`. These should bring the cost of a single span down from 30+µs per span to a more reasonable 1.5µs or so and down to the ns scale for events (on my 1st gen Ryzen machine, anyway.) There is still a fair amount of overhead over plain tracy_client instrumentation in formatting and such, but dealing with it requires significant effort and this is a straightforward improvement to have for the time being. Co-authored-by: Simonas Kazlauskas <[email protected]>
1 parent f208752 commit 79eb299

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_log/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ bevy_utils = { path = "../bevy_utils", version = "0.8.0-dev" }
1717

1818
tracing-subscriber = {version = "0.3.1", features = ["registry", "env-filter"]}
1919
tracing-chrome = { version = "0.4.0", optional = true }
20-
tracing-tracy = { version = "0.9.0", optional = true }
20+
tracing-tracy = { version = "0.10.0", optional = true }
2121
tracing-log = "0.1.2"
2222
tracing-error = { version = "0.2.0", optional = true }
2323

0 commit comments

Comments
 (0)