Replies: 1 comment
-
if you don't need the console messages, you can get rid of most of the overhead by piping the output to a null file. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am currently benchmarking my application using Bevy 0.11.2 with its
tracing-tracy
feature. My setup creates significant overhead, and I would welcome advice to optimize it.First, the
tracing-tracy
feature seems to build on and reconfigure the logging infrastructure from the LogPlugin. So, when tracing is activated, every logged message now contains a (quite) long header. For example,The logging plugin attempts to write these long messages on
stdout
, so I have multiple systems trying to write long messages in parallel on the console, hence the overhead. I considered the following tweaks:stdout
: Did not find how to do that in Bevy documentation (incl. the -awesome- cheatbook)level
setting of theLogPlugin
so it just generates less logs: Works but Bevy built-in integration relies on INFO messages so I lose the automatic tracing ;( I still have my manually added spans thoughI am running out of options, besides temporarily forking the relevant bevy crates.
Advice welcomed!
Beta Was this translation helpful? Give feedback.
All reactions