Skip to content

Conversation

@kquick
Copy link
Contributor

@kquick kquick commented Jan 2, 2019

The upper bounds for QuickCheck and base-orphan are bumped (similar to #676) but additionally the properties tests are broken into multiple files to speed up compilation and hopefully avoid Travis CI failures.

The discussion of #676 indicated that QuickCheck 2.12 was causing significantly slower compilation times, but local testing for me showed little difference between 2.12.6.1 and 2.11.3 (see the data in the commit comment for commit 3f553c4), but breaking the tests into multiple files improved compilation times for both QuickCheck versions. All tests pass for all configurations, so there is no indication that there is any validity regression involved.

This commit does not change the API nor does it add any new features, so it should only require a minor version bump (C of A.B.C) per the PVP.

kquick added 3 commits January 1, 2019 19:41
The original property testing used a single file to specify all
property tests, which caused compilation issues and intermittent
Travis CI build failures.  This commit breaks the Properties file into
multiple files to make it faster to compile.

    | Properties  |   GHC | QuickCheck | Clean build/test      | properties build/test |
    |-------------+-------+------------+-----------------------+-----------------------|
    | single file | 8.4.4 |     2.11.3 | 3m48s / 5m56s / 1m33s | 1m42s / 1m58s / 0m31s |
    |             |       |   2.12.6.1 | 3m27s / 5m42s / 0m58s | 1m45s / 2m2s / 0m33s  |
    |-------------+-------+------------+-----------------------+-----------------------|
    | multi-file  | 8.4.4 |     2.11.3 | 2m19s / 4m26s / 0m37s | 0m35s / 0m44s / 0m9s  |
    |             |       |   2.12.6.1 | 2m20s / 4m26s / 0m37s | 0m36s / 0m45s / 0m10s |

(times are in real, user, and sys time)
@bergmark
Copy link
Collaborator

bergmark commented Jan 4, 2019

Thanks!

@bergmark bergmark merged commit 2532376 into haskell:master Jan 4, 2019
@kquick kquick deleted the testcompile branch January 5, 2019 01:06
@bergmark bergmark removed this from the next milestone Jan 6, 2019
@kquick
Copy link
Contributor Author

kquick commented Jan 10, 2019

Thanks for merging this. It would be great to get a Hackage release of this. It looks like one of the trustees bumped the base-orphans version allowing GHC 8.6, but the QuickCheck < 2.12 restriction is creating a lot of issues with other packages and transitive dependencies.

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