-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
c++ replay: more robust seek #22375
c++ replay: more robust seek #22375
Conversation
deanlee
commented
Sep 29, 2021
•
edited
Loading
edited
- more robust seek .
- skip invalid segments
- faster merge events
- test cases
- reduce cpu usage ~20%
d607b54
to
d3b2990
Compare
Does this also handle seeking past the end of the route? |
It should be handled, I need to write some test cases int this PR to ensure the stability of seek |
65be002
to
20e1198
Compare
ccd323a
to
8030a40
Compare
8030a40
to
740e950
Compare
How much faster is the merge by doing things in parallel? I'm worried that depending on |
not too much, merge 5 segments, from ~9ms-> ~0.5 ms. sort events in loggerread, from 8ms->0.3 ms |
Yeah, let's remove it. It's not installed on AGNOS. |
cleanup remoe & typo update comment
This reverts commit d7d1b42.
8a2e000
to
97c380e
Compare