Skip to content

Improve parallelization of diff - #5508

Merged
jabraham17 merged 1 commit into
Bears-R-Us:mainfrom
jabraham17:fix-diff-perf
Jul 31, 2026
Merged

jabraham17 merged 1 commit into
Bears-R-Us:mainfrom
jabraham17:fix-diff-perf

Conversation

@jabraham17

Copy link
Copy Markdown
Contributor

Improves 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)

Signed-off-by: Jade Abraham <[email protected]>
@jabraham17
jabraham17 added this pull request to the merge queue Jul 31, 2026
Merged via the queue into Bears-R-Us:main with commit d69e515 Jul 31, 2026
21 checks passed
@jabraham17
jabraham17 deleted the fix-diff-perf branch August 10, 2026 21:03
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.

2 participants