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
I wanted to try out this tool as an alternative to pprof, as it takes an hour to parse my profiles.
However after adding -trace ... as an argument running my benchmarks, I couldn't open them due to the timestamps being out of order.
One thing that I think could mess with the trace is that I used github.com/ianlancetaylor/cgosymbolizer to also get a profile (and trace) of c++ code within CGO, and thread sanitizer. Otherwise this is a completely normal CGO test binary and trace.
Does go tool trace load the trace successfully? If it doesn't then this is probably one of the many instances of the "time stamps out of order" bug (golang/go#16755) that has myriad weird causes. In that case, the only fix is to wait for Go 1.22, which reworks tracing and should no longer suffer from this issue.
I wanted to try out this tool as an alternative to pprof, as it takes an hour to parse my profiles.
However after adding
-trace ...
as an argument running my benchmarks, I couldn't open them due to the timestamps being out of order.One thing that I think could mess with the trace is that I used github.com/ianlancetaylor/cgosymbolizer to also get a profile (and trace) of c++ code within CGO, and thread sanitizer. Otherwise this is a completely normal CGO test binary and trace.
go env:
The text was updated successfully, but these errors were encountered: