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

padreati's first try #17

Merged
merged 1 commit into from
Jan 2, 2024
Merged

padreati's first try #17

merged 1 commit into from
Jan 2, 2024

Conversation

padreati
Copy link

@padreati padreati commented Jan 2, 2024

I have used virtual threads to process in parallel chunks of the input file, some SIMD Vector API to check for new lines and commas, actually nothing too fancy.

On my laptop Ubuntu i7 4 cores, 8 threads I get something around 45 seconds, the original benchmark being 2min51sec.

I have also added some configuration for using vector api and enable preview in the maven pom file.

@padreati padreati changed the title Implementation by padreati - first try padreati's first try Jan 2, 2024
@gunnarmorling
Copy link
Owner

Woot, woot, first implementation using the Vector API!

@gunnarmorling
Copy link
Owner

Nice one! Clocking in at 0:50:547 in the official evaluation environment (i.e. interestingly, the relative improvement there is quite a bit bigger than in the numbers you shared). Perhaps wider AVX lanes (it's some AMD EPYC chip)?

@gunnarmorling gunnarmorling merged commit 1721848 into gunnarmorling:main Jan 2, 2024
1 check 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.

2 participants