ARROW-10898: [C++] Improve table sort performance#11262
Closed
pitrou wants to merge 1 commit intoapache:masterfrom
Closed
ARROW-10898: [C++] Improve table sort performance#11262pitrou wants to merge 1 commit intoapache:masterfrom
pitrou wants to merge 1 commit intoapache:masterfrom
Conversation
Use the same strategy as for chunked array sorting: - first sort each RecordBatch individually, taking advantage of data contiguity for fast indexing - then merge sorted batches recursively, using slower chunked indexing Benchmarks show up to 200% speedups on some benchmark parameters, along with very minor regressions.
a24e0eb to
f25bf77
Compare
Member
Author
|
@ursabot please benchmark |
|
Benchmark runs are scheduled for baseline = 8dbe574 and contender = f25bf77. Results will be available as each benchmark for each run completes. |
ViniciusSouzaRoque
pushed a commit
to s1mbi0se/arrow
that referenced
this pull request
Oct 20, 2021
Use the same strategy as for chunked array sorting: - first sort each RecordBatch individually, taking advantage of data contiguity for fast indexing - then merge sorted batches recursively, using slower chunked indexing Benchmarks show up to 200% speedups on some benchmark parameters, along with very minor regressions. Closes apache#11262 from pitrou/ARROW-10898-table-merge-sort Authored-by: Antoine Pitrou <[email protected]> Signed-off-by: Antoine Pitrou <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Use the same strategy as for chunked array sorting:
Benchmarks show up to 200% speedups on some benchmark parameters, along with very minor regressions.