Skip to content

Bundle of performance improvements - #5505

Closed
jabraham17 wants to merge 3 commits into
Bears-R-Us:mainfrom
jabraham17:optimize-ops
Closed

jabraham17 wants to merge 3 commits into
Bears-R-Us:mainfrom
jabraham17:optimize-ops

Conversation

@jabraham17

@jabraham17 jabraham17 commented Jul 29, 2026 •

Copy link
Copy Markdown
Contributor

A bundle of performance improvements motivated by analytics workflow

  • improved the parallelization of diff, 1.5x speedup on micro benchmark using a COMM=none server on my mac.
    • it looks like previous refactors accidentally removed the parallelization, so I added it back
    • I also found that the outer loop is usually a single trip count, so that being parallel is not very useful. the inner loop being parallel is much faster (at least in my benchmarks)
  • improved the performance of array slices, up to a 2x speedup on a micro benchmark using a COMM=none server on my mac
    • by specializing for non-strided ranges and using whole-array operations, we take advantage of builtin chapel optimizations for slicing

@jabraham17
jabraham17 marked this pull request as ready for review July 30, 2026 18:32
@jabraham17 jabraham17 changed the title Bundle of perfomance improvements Bundle of performance improvements Jul 30, 2026
jabraham17 added a commit to jabraham17/arkouda that referenced this pull request Jul 31, 2026
Adds new benchmarks for ak.diff and slicing ops.

I implemented performance improvements for these operations in
Bears-R-Us#5505, and this PR will add
benchmarks for those cases. This PR should be merged first to allow
collecting some performance data to see a good before/after for 5505

---------

Signed-off-by: Jade Abraham <[email protected]>
@jabraham17

Copy link
Copy Markdown
Contributor Author

I split this PR into #5508 and #5509

@jabraham17 jabraham17 closed this Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant