Skip to content

Double the chunk size for f64#86

Merged
Shnatsel merged 1 commit intomainfrom
wider-f64-bravo
Mar 23, 2026
Merged

Double the chunk size for f64#86
Shnatsel merged 1 commit intomainfrom
wider-f64-bravo

Conversation

@Shnatsel
Copy link
Copy Markdown
Collaborator

@Shnatsel Shnatsel commented Mar 23, 2026

Zen4: Improves performance for very small and very large sizes, regresses medium sizes.
M4: Improvement or neutral across the board.

Benchmarks (of the size doubled across the board, even for f32):

double_up_results_zen4.txt

double_up_results_m4.txt

Later we can choose the fastest bit reversal method at runtime, like in #60, but this is a good first step.

Results of cargo run --release --features=parallel --example benchmark -- 64 27 5

Zen4: 1,629,803,842 -> 1,476,104,938
M4: 947,283,858 -> 810,994,608

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 99.10%. Comparing base (2cf6951) to head (6bc1d8c).

Files with missing lines Patch % Lines
src/algorithms/bravo.rs 50.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #86   +/-   ##
=======================================
  Coverage   99.10%   99.10%           
=======================================
  Files          10       10           
  Lines        1566     1566           
=======================================
  Hits         1552     1552           
  Misses         14       14           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Shnatsel Shnatsel merged commit 78192e8 into main Mar 23, 2026
10 checks passed
@Shnatsel Shnatsel deleted the wider-f64-bravo branch March 23, 2026 14:14
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