Skip to content

Grayjay update solver benchmarks - #6447

Merged
phadej merged 3 commits into
haskell:masterfrom
phadej:grayjay-update-solver-benchmarks
Dec 18, 2019
Merged

phadej merged 3 commits into
haskell:masterfrom
phadej:grayjay-update-solver-benchmarks

Conversation

@phadej

@phadej phadej commented Dec 18, 2019

Copy link
Copy Markdown
Collaborator

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.

sebright 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
@sebright

Copy link
Copy Markdown
Collaborator

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