Replies: 2 comments 7 replies
-
Sorry for the delay. There shouldn't be a noticeable (or at the very least, large) decrease in performance in changing between |
Beta Was this translation helpful? Give feedback.
0 replies
-
hi, |
Beta Was this translation helpful? Give feedback.
7 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.
-
Hi guys,
In the early stages of my project, I utilized the tracing library to funnel the flow of my code into a singular file. For this purpose, I employed the tracing_subscriber::fmt while initializing the subscriber. Thankfully, during this process, I did not observe any notable impact on the performance of my code.
However, performance issues began to surface when I had to log specific events into another file. To achieve this, I employed layers for each log and used some EnvFilter for the new log file. Subsequently, I also had to alter the way I initialized the subscriber, switching from tracing_subscriber::fmt to tracing_subscriber::registry.
The changes seem to have induced a significant effect on performance. Could anyone shed light on why such a transformation would have such a substantial impact in terms of performance?
thanks,
Avi.
Beta Was this translation helpful? Give feedback.
All reactions