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

jerrinot's improvement - everyone is hunting ILP? let's do less! #652

Closed
wants to merge 2 commits into from

Conversation

jerrinot
Copy link
Contributor

@jerrinot jerrinot commented Jan 29, 2024

it turns out doing 3 things at once was too much. perf annotate showed spilling.

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: 1.8s
  • Execution time of reference implementation: long

thanks to @franz1981 for the idea to explore register spilling and to @thomaswue for tips on how to do it!

it turns out doing 2 things was too much. perf annotate showed spilling.
@jerrinot jerrinot changed the title jerrinot's improvement - everyone is adding ILP? let's do less! jerrinot's improvement - everyone is hunting ILP? let's do less! Jan 29, 2024
@gunnarmorling
Copy link
Owner

@jerrinot, where does it handle hash collisions actually?

@jerrinot jerrinot mentioned this pull request Jan 31, 2024
6 tasks
@jerrinot
Copy link
Contributor Author

closing in favour of #690

@jerrinot jerrinot closed this Jan 31, 2024
@jerrinot
Copy link
Contributor Author

@gunnarmorling
Copy link
Owner

gunnarmorling commented Jan 31, 2024 via email

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