Skip to content
This repository was archived by the owner on Jul 19, 2023. It is now read-only.

Use binary search in getSeriesIndex #621

Merged
merged 2 commits into from
Apr 13, 2023

Conversation

0xPoe
Copy link
Contributor

@0xPoe 0xPoe commented Apr 12, 2023

Remove TODO and use the binary search here.

Copy link
Collaborator

@simonswine simonswine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for looking into that TODO 🎉

LGTM

@simonswine simonswine merged commit b1a77df into grafana:main Apr 13, 2023
@0xPoe
Copy link
Contributor Author

0xPoe commented Apr 14, 2023

Thanks for your review! 💚 💙 💜 💛 ❤️

@cyriltovena
Copy link
Collaborator

I suspect this has introduce a bug. #640 @hi-rustin any quick idea ?

0xPoe added a commit to 0xPoe/phlare that referenced this pull request Apr 24, 2023
cyriltovena pushed a commit that referenced this pull request Apr 24, 2023
cyriltovena pushed a commit that referenced this pull request Apr 24, 2023
cyriltovena pushed a commit that referenced this pull request Apr 24, 2023
simonswine added a commit to simonswine/phlare that referenced this pull request Apr 26, 2023
* Use binary search in `getSeriesIndex`
* Now with a fixed behaviour for nil rowRanges and a related test.

Co-authored-by: Rustin <[email protected]>
simonswine added a commit to simonswine/phlare that referenced this pull request Apr 26, 2023
This are additional test cases from the PR grafana#621, which we reverted.
simonswine added a commit to simonswine/phlare that referenced this pull request Apr 27, 2023
This are additional test cases from the PR grafana#621, which we reverted.
simonswine added a commit that referenced this pull request Apr 27, 2023
This are additional test cases from the PR #621, which we reverted.
simonswine added a commit to simonswine/pyroscope that referenced this pull request Jun 30, 2023
* Use binary search in `getSeriesIndex`

* Add a test case, which will trigger the nil row range case

---------

Co-authored-by: Christian Simon <[email protected]>
simonswine pushed a commit to simonswine/pyroscope that referenced this pull request Jun 30, 2023
simonswine added a commit to simonswine/pyroscope that referenced this pull request Jun 30, 2023
This are additional test cases from the PR grafana/phlare#621, which we reverted.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants