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

Set -fproc-alignment=64 for benchmarks #577

Merged
merged 2 commits into from Feb 16, 2023

Conversation

Bodigrim
Copy link
Contributor

@Bodigrim Bodigrim commented Feb 11, 2023

See https://downloads.haskell.org/ghc/latest/docs/users_guide/debugging.html#ghc-flag--fproc-alignment

Otherwise comparing benchmarks between different versions of GHC could be meaningless because of different cache-line alignment.

@Bodigrim
Copy link
Contributor Author

Also pushed a small improvement for the stability of benchmarks: absurdlong should be precomputed, instead of being evaluated by the first benchmark with happens to depend on it.

@Bodigrim Bodigrim added this to the 0.11.5.0 milestone Feb 16, 2023
@Bodigrim Bodigrim merged commit da6ea8f into haskell:master Feb 16, 2023
@Bodigrim Bodigrim deleted the fproc-alignment branch February 16, 2023 20:00
Bodigrim added a commit to Bodigrim/bytestring that referenced this pull request May 28, 2023
* Set -fproc-alignment=64 for benchmarks

* Benchmarks: force absurdlong before actual benchmarking
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.

None yet

2 participants