Extended metrics for sorts
- Dominant language
- Rust
- Stars
- 9.3k
- Forks
- 2.4k
- Avg merge
- 3d 7h
- Merged PRs (30d)
- 344
Description
### Is your feature request related to a problem or challenge?
During benchmarking I've realized that the sort operations(especially the complex ones like multi-level sorts) don't really give me a lot of information to go on(generally spill info and the baseline metrics)
I wanted to look into what happens in the actual sort and what takes time there, so I created additional metrics which I found helpful and I think can be useful for anyone else (I'll submit a PR shortly).
### Describe the solution you'd like
What I found useful were timers regarding the evaluation of the actual sort columns, the actual sort on the indices, and the following take algorithm.
but this can be extended further, into "how many levels were in this multi-level merge", "how much time were we awaiting spill tasks", or any other metrics that comes to mind.
### Describe alternatives you've considered
_No response_
### Additional context
_No response_
Contributor guide
Research direction
No file, test, or entry point is named. Start by locating the sort implementation and its existing spill and baseline metrics, then trace sort-column evaluation, index sorting, the take algorithm, and spill-task waits. Done means the selected sort timings or counters are exposed consistently and covered by relevant tests or benchmarking.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- data-engineering, performance
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100