Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance tuning #33

Merged
merged 3 commits into from
Sep 6, 2024
Merged

Performance tuning #33

merged 3 commits into from
Sep 6, 2024

Conversation

lemire
Copy link
Member

@lemire lemire commented Sep 6, 2024

I am now getting that AVX2 is almost 2x faster (1.9x to be precise).

processor SimdBase64(GB/s) .NET speed (GB/s) speed up
Apple M2 processor (ARM) 6.5 3.8 1.7 x
Intel Ice Lake (AVX2) 6.6 3.4 1.9 x
Intel Ice Lake (SSSE3) 4.9 3.4 1.4 x

@lemire lemire requested a review from Nick-Nuon September 6, 2024 18:46
Copy link
Collaborator

@Nick-Nuon Nick-Nuon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good! I get the same benchmarks. My vote goes for merge.

@lemire lemire merged commit df351b8 into main Sep 6, 2024
1 check passed
@lemire
Copy link
Member Author

lemire commented Sep 6, 2024

@Nick-Nuon I think AVX-512 should get us over the 2x barrier.

@lemire
Copy link
Member Author

lemire commented Sep 6, 2024

@Nick-Nuon Merged.

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