-
Notifications
You must be signed in to change notification settings - Fork 0
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
Port btest to D #3
Conversation
Example of this in use in BSDScheme eatonphil/bsdscheme#45 |
Hi @eatonphil I have seen neither D or Crystal are using compiler optimization, crystal is a bit slow on normal build mode because it avoid a lot of performance checks in aims to compile faster, if really want to test performance please use Also see my PR #4, I'm not an expert, so I think my PR would be improved even more 😉 |
This fixes an issue where the execute() call throws an exception, the directory never gets changed back.
I set the default to not parallelize runners because I don't synchronize on runner output... all the output got mixed up randomly. So this way all output is under the appropriate runner text group. You can explicitly enable parallel runners in the btest.yaml. In the future we may want to collect/synchronize output (for other reasons) such that this wouldn't be an issue. |
Merged on the command line 🎉 |
Some local numbers testing against bsdscheme's suite (btest is crsytal-btest, dbtest is d-btest):
Over 66% improvement on total time in this suite. The code is also ~300 lines whereas crystal was ~400 lines. Now there is no pretty formatting so that might account for some many things.
Pieces I know I'm missing in this initial PR: