-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Move specs for arithmetic primitives to primitives_spec
#11298
Move specs for arithmetic primitives to primitives_spec
#11298
Conversation
Co-authored-by: Johannes Müller <[email protected]>
By the way, I tried to gather the run times of all the
The raw data is here. Right here the same jobs are already giving run times down to around 35 minutes so I'd say that's a rather significant improvement. Similar time savings can be observed for other jobs (e.g. |
Wow, that's really a lot. I had expected to shave of quite a bunch, but 10 minutes is really a significant step. |
Alternative to #11233. This moves all primitives specs to a new test suite. The actual tests are the same as that PR except that
spec/std/overflow_spec.cr
is also combined here.The
primitives_spec
target has a Makefile dependency on the local Crystal compiler, so any primitive method introductions or fixes in a PR should be immediately available whenevermake primitives_spec
is run, including on CI. (Those introductions or fixes are not guaranteed to be there if the specs are run directly viabin/crystal spec spec/primitives_spec.cr
.)