-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Try to use fiber
support to implement proper support for non-hierarchical tracing spans
#35
Comments
nagisa
changed the title
Use
Try to use Apr 26, 2022
fiber
support to implement proper support for non-hierarchical tracing spansfiber
support to implement proper support for non-hierarchical tracing spans
nagisa
added a commit
that referenced
this issue
Jun 11, 2022
Fibers introduce a significant overhead to each invocation of Tracy instrumentation calls, which in turn makes all tracing instrumentation points (with callstack collection disabled) 2x slower than they could be. I anticipate that `fibers` still may become unconditional requirement in the future due to #35, but there's no reason to impose that overhead on users today.
nagisa
added a commit
that referenced
this issue
Jun 11, 2022
Fibers introduce a significant overhead to each invocation of Tracy instrumentation calls, which in turn makes all tracing instrumentation points (with callstack collection disabled) 2x slower than they could be. I anticipate that `fibers` still may become unconditional requirement in the future due to #35, but there's no reason to impose that overhead on users today.
nagisa
added a commit
that referenced
this issue
Jun 11, 2022
Fibers introduce a significant overhead to each invocation of Tracy instrumentation calls, which in turn makes all tracing instrumentation points (with callstack collection disabled) 2x slower than they could be. I anticipate that `fibers` still may become unconditional requirement in the future due to #35, but there's no reason to impose that overhead on users today.
A downside to this is a significant increase in instrumentation overhead when the fibers feature is enabled. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tracing spans don't need to be hierarchical, it is entirely possible to have spans looking like this
Tracy itself requires however that all spans entered in a single thread share a strong hierarchical relationship and requires that S2 and S3 both terminate before S1.
Tracy recently introduced support for fibers which, to the best of my knowledge, should give enough control to properly represent non-hierarchical spans like these.
The text was updated successfully, but these errors were encountered: