-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
AMS Benchmark tests #832 #872
Conversation
May I suggest something? Not everyone creates PR's with one commit. Should we perhaps run it against master instead? Or maybe something like |
Totally agreed @kurko I thought about the issue but didn't came up with anything. Good idea ;) |
c691224
to
0c0ec0e
Compare
@kurko and it's done ;) |
Tests failing. Restarting. |
3cde0a1
to
b95063c
Compare
Finally! @kurko can you review it for me? 😝 |
Adding a benchmak test structure to help contributors to keep track of how their PR will impact overall performance. It enables developers to create test inside of tests/benchmark. This implementation adds a rake task: ```rake benchmark``` that checkout one commit before, run the test of tests/benchmark, then mover back to the last commit and run it again. By comparing the benchmark results between both commits the contributor will notice if and how much his contribution will impact overall performance.
b81653f
to
08a068d
Compare
08a068d
to
e2ab119
Compare
- "RAILS_VERSION=4.2" | ||
- "RAILS_VERSION=master" | ||
global: | ||
- JRUBY_OPTS=-Xcext.enabled=true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
housekeeping: I don't think is a good idea to set JRUBY_OPTS this way since travis uses JRUBY_OPTS="--server -Dcext.enabled=false -Xcompile.invokedynamic=false"
now (cext.enabled=false is the future) and ref: rspec/rspec-dev#115
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😢
I'll find a workaround
What's the status on this one? |
@joaomdmoura have you been able to demonstrate difference in caching vs. non caching in a branch and performance of each across two branches? I've been futzing with this a bit and haven't been able to show a difference. |
#1393 is based on this, and is on master, should run across commit history without conflicts |
This is stale. @joaomdmoura any thoughts on this? Any plans to continue? |
I now have a working implementation at #1393 that I'm pretty happy with, for the benchmarking part, and some maturing revision-running code I'll be pushing up soon. |
Adding a benchmak test structure to help contributors to keep track
of how their PR will impact overall performance.
It enables developers to create test inside of tests/benchmark.
This implementation adds a rake task:
rake benchmark
that checkoutone commit before, run the test of tests/benchmark, then mover back to
the last commit and run it again. By comparing the benchmark results between
both commits the contributor will notice if and how much his contribution
will impact overall performance.