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
Speedscope output fails (event ordering?) #385
Comments
Not sure if related, but if I extract the time from the raw capture and compare plain to sorted:
I get some differences:
|
Yeah, I think that was the issue. A hack to fix a trace if anyone needs a workaround:
|
Hmm, my guess is that we need a fix similar to #371. Or maybe it can be fixed upstream in the recorder, e.g. if we keep track of the most recent timestamp and warn (but not record) when there's an ordering issue. |
A slightly complicated, but cheap solution could be to keep a rolling buffer of 10 or so entries that's always sorted. Then flush the remaining of the buffer at the end? |
When trying to process a capture using:
I get:
This is from rbspy 0.18.0 and ruby 3.2.2 captured using:
I'm happy to copy some of that trace if have some specific things I should check?
The text was updated successfully, but these errors were encountered: