Skip to content

Conversation

Veykril
Copy link
Member

@Veykril Veykril commented Aug 3, 2025

No description provided.

Copy link

netlify bot commented Aug 3, 2025

Deploy Preview for salsa-rs canceled.

Name Link
🔨 Latest commit 9b4da36
🔍 Latest deploy log https://app.netlify.com/projects/salsa-rs/deploys/68f610e0389171000802e4d7

Copy link

codspeed-hq bot commented Aug 3, 2025

CodSpeed Performance Report

Merging #958 will degrade performances by 5.28%

Comparing Veykril:veykril/push-rqyrkyttxpol (9b4da36) with master (9cfe41c)

Summary

❌ 1 (👁 1) regression
✅ 12 untouched

Benchmarks breakdown

Benchmark BASE HEAD Change
👁 amortized[Input] 2.1 µs 2.2 µs -5.28%

@MichaReiser
Copy link
Contributor

Is there any other benefit than code size reduction. It seems codspeed doesn't like it at all.

@Veykril Veykril force-pushed the veykril/push-rqyrkyttxpol branch from 7a3884e to ef1c5dc Compare August 3, 2025 08:02
@Veykril
Copy link
Member Author

Veykril commented Aug 3, 2025

No there isn't. I was curious about the perf impact, I agree this isn't great. Checking if we can actually simplify our impl now

@Veykril Veykril force-pushed the veykril/push-rqyrkyttxpol branch from ef1c5dc to 1b15e41 Compare August 3, 2025 08:02
@Veykril Veykril changed the title Replace manual WaitGroup impl with crossbeam's Simplify WaitGroup implementation Aug 3, 2025
@Veykril
Copy link
Member Author

Veykril commented Aug 3, 2025

Hm, we could get rid of the additional Arc as well and re-use the Zalsa arc but that makes the code a lot more ugly (thanks to having to deal with drop order), so this is the best I can come up with. Trading an unwrap with unsafe solely due to polonius borrow checking not being a thing yet :(

@MichaReiser MichaReiser requested a review from ibraheemdev August 5, 2025 07:49
@MichaReiser
Copy link
Contributor

@ibraheemdev could you take a look at this PR?

Co-authored-by: Ibraheem Ahmed <[email protected]>
@Veykril Veykril force-pushed the veykril/push-rqyrkyttxpol branch from ee184dd to 9b4da36 Compare October 20, 2025 10:37
@Veykril Veykril added this pull request to the merge queue Oct 20, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Oct 20, 2025
@MichaReiser MichaReiser added this pull request to the merge queue Oct 20, 2025
Merged via the queue into salsa-rs:master with commit a4113cd Oct 20, 2025
10 of 12 checks passed
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.

3 participants