-
Notifications
You must be signed in to change notification settings - Fork 29
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
Test with The Ruby Spec Suite #66
Conversation
43844ce
to
73c5366
Compare
@danielpclark It runs now, please take a look! Tests are failing because of bugs in faster_path. I've only fixed the bugs that were preventing Bundler from loading when using monkey-patched methods. Alternatively, we can avoidBundler entirely by adding another submodule with |
This will be quite helpful. The |
I need to fix the regressions introduced by my "bugfixes" before this is good to merge |
Do you think we can add the |
f007353
to
72879c9
Compare
Done with: MSpec.disable_feature :encoding |
Only 3 mspec tests are failing now:
|
Since you've been working on #monkey_patch_sledge_hammer
# File module eval
def slower_method
end if ENV['WITH_REGRESSION']
# end
#end Same thing once we move it to I've added this to a policy for regressions against C code on the wiki. |
On the |
I'd like to keep the changes in this PR contained to enabling RubySpec, an ENV var change should be a separate PR. I'm also not sure what the environment name should be (WITH_REGRESSION is too generic).
If it returns Rebased. |
@danielpclark Ah, I see the env var is already set up. Added it for |
@danielpclark Any blockers to merging this? Currently PRs are being submitted which come with tests that are an incomplete re-implementation of a part of RubySpec. If we come up with new tests for Ruby stdlib classes, we should be adding them to RubySpec instead so the entire community can benefit. These new PRs also fail RubySpec. If we merge this, the repo status will be red until the remaining tests are fixed, but the current green status is misleading. |
I agree with you that it is generic. But if you think about the context it will be used in it is for R&D on this project. It would be surprising though if another project did the same thing and depended upon this gem. That would be the one side effect. But I believe that if they did that and tracked down the source they would change their own env flag. Using this gem can be done directly, or it can have the added benefit of improving Although we may need to verify this on a system by system basis as 32bit and 64bit computers seem to have vastly different results for us. 64bit being faster for us. |
I've added a new benchmark system called pbench. You can run |
More idiomatic, faster, extracted from danielpclark#66
More idiomatic, faster, extracted from danielpclark#66
More idiomatic, faster, extracted from danielpclark#66
Rebased |
7c98f5e
to
a7766cf
Compare
Adds The Ruby Spec Suite as a submodule and configures for running with the FasterPath monkey patches.
Looks like to make these tests pass we need to add |
Also I pulled this PR locally but the submodule's not here. How do I get it? Never mind, I got it with: |
Adds The Ruby Spec Suite as a submodule and configures for running with the FasterPath monkey patches.