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

serkan-ozal's 7th submission #679

Merged

Conversation

serkan-ozal
Copy link
Contributor

@serkan-ozal serkan-ozal commented Jan 31, 2024

  • use smaller regions (increased region count) so there will be less idle time for the workers who completed their tasks
  • get rid of some configuration related stuff during initialization which might save a few tens of milliseconds hopefully

Check List:

  • You have run ./mvnw verify and the project builds successfully
  • Tests pass (./test.sh <username> shows no differences between expected and actual outputs)
  • All formatting changes by the build are committed
  • Your launch script is named calculate_average_<username>.sh (make sure to match casing of your GH user name) and is executable
  • Output matches that of calculate_average_baseline.sh
  • For new entries, or after substantial changes: When implementing custom hash structures, please point to where you deal with hash collisions (line number)
  • Execution time: 2.7s (It was 2.8s in the 6th submission in my testing env)
  • Execution time of reference implementation: 5m 54.1s

@serkan-ozal
Copy link
Contributor Author

Hi @gunnarmorling,

I have another one :) I am running out of ideas and trying to cut of a few tens of milliseconds (hopefully) by configuration changes. Let's see how it perform on the eval machine

- use smaller regions (increased region count) so there will be less idle time for the workers who completed their tasks
- get rid of some configuration related stuff during initialization which might save a few tens of milliseconds hopefully
- update temperature value parsing instruction order to get benefit of ILP better (hopefully)
@gunnarmorling
Copy link
Owner

Nice!

Benchmark 1: timeout -v 300 ./calculate_average_serkan-ozal.sh 2>&1
Time (mean ± σ): 1.878 s ± 0.029 s [User: 0.002 s, System: 0.006 s]
Range (min … max): 1.816 s … 1.921 s 10 runs

Summary
serkan-ozal: trimmed mean 1.88062955082, raw times 1.85660515982,1.8155311988199998,1.8667343968199999,1.88912459782,1.87140446582,1.90478236882,1.88908698382,1.87442620682,1.92057302782,1.89287222682

Leaderboard
grep: ./src/main/java*/dev/morling/onebrc/CalculateAverage_serkan-ozal.java: No such file or directory

# Result (m:s.ms) Implementation JDK Submitter Notes
00:01.880 link 21.0.1-open Serkan ÖZAL

@gunnarmorling gunnarmorling merged commit 6a2e505 into gunnarmorling:main Jan 31, 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