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

Convert all laws to take Equiv instances, deprecate Equiv versions #595

Merged
merged 18 commits into from
Dec 5, 2016

Conversation

sritchie
Copy link
Collaborator

@sritchie sritchie commented Dec 3, 2016

This PR converts all laws (and all tests!) to take Equiv instances by default. This is a binary-incompatible change, but in functions that take lots of implicit arguments that shouldn't be passed by default anyway.

All LawsEquiv versions have a deprecation warning and point to the actual Laws.

This also adds .jvmopts to, hopefully, speed up the build.

@sritchie sritchie added this to the 0.13.0 milestone Dec 3, 2016
@codecov-io
Copy link

codecov-io commented Dec 3, 2016

Current coverage is 80.31% (diff: 100%)

Merging #595 into develop will increase coverage by 0.41%

@@            develop       #595   diff @@
==========================================
  Files           114        114          
  Lines          4994       4932    -62   
  Methods        4570       4506    -64   
  Messages          0          0          
  Branches        423        425     +2   
==========================================
- Hits           3990       3961    -29   
+ Misses         1004        971    -33   
  Partials          0          0          

Powered by Codecov. Last update 353d027...7fecbf7

@sritchie
Copy link
Collaborator Author

sritchie commented Dec 3, 2016

Holy shit... those jvm opts dropped the build time from 40something minutes to 7 minutes on the 2.11 build.

@sritchie
Copy link
Collaborator Author

sritchie commented Dec 3, 2016

@ianoc looks like these started running out of permgen space. Probably need to redo them one at a time.

@ianoc
Copy link
Collaborator

ianoc commented Dec 3, 2016

@sritchie Yeah looks like that. Lets not worry about it in this PR. The last one failed though. is that test reasonably flaky?

@ianoc
Copy link
Collaborator

ianoc commented Dec 3, 2016

Thanks for running the tests you did btw!

@sritchie
Copy link
Collaborator Author

sritchie commented Dec 3, 2016

@ianoc ah, yes, that one is, and we have an issue for it, I believe. kicking it off again

@sritchie
Copy link
Collaborator Author

sritchie commented Dec 3, 2016

here we go: #508

@sritchie
Copy link
Collaborator Author

sritchie commented Dec 3, 2016

💥 tests pass @ianoc @johnynek.

@johnynek
Copy link
Collaborator

johnynek commented Dec 5, 2016

💯

@johnynek johnynek merged commit fe78e57 into develop Dec 5, 2016
@johnynek johnynek deleted the sritchie/laws_equiv branch December 5, 2016 18:28
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.

5 participants