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

Grayjay update solver benchmarks #6447

Merged
merged 3 commits into from
Dec 18, 2019

Conversation

phadej
Copy link
Collaborator

@phadej phadej commented Dec 18, 2019

One commit on top of #6434 which allows to run benchmarks as part of validate.sh (to see that they work).

Probably because of asserts in development version, cabal-install-3.0.1.0 seems to be slightly faster, on my machine :)

cc @grayjay, I'll merge this when travis turns green.

grayjay and others added 3 commits December 18, 2019 14:13
Fixes haskell#6417.

Changes in this commit:

- Set the --lib flag so that the benchmark works for packages with libraries or
  executables.
- Set --ignore-project to prevent cabal projects from affecting the results.
- Handle four types of cabal errors that were introduced by v2-install.
- Use +nowrap to simplify parsing of cabal errors.
@phadej phadej merged commit 787b1f2 into haskell:master Dec 18, 2019
@phadej phadej deleted the grayjay-update-solver-benchmarks branch December 18, 2019 20:25
@grayjay
Copy link
Collaborator

grayjay commented Dec 22, 2019

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants