-
Notifications
You must be signed in to change notification settings - Fork 901
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
Add have_a_version_with_changes
matcher
#881
Add have_a_version_with_changes
matcher
#881
Conversation
Looks good to me. Personally, I'm a little leery of |
On an unrelated note, I'd like to see the rspec stuff move into a separate gem (called |
Merged. Thanks Anton! |
Shouldn't performance be a little be better when people are using the Anyway, here's the source for anyone who's seeing this on how it is implemented, depending on the column type: |
I would think so, but also don't have benchmarks to prove that assertion. Should we add a bit to the RSpec portion of the README regarding this feature? |
I'd like to do some benchmarks, but how do you suggest such a benchmark should look like? I'm asking because since you guys write and maintain paper_trail, you guys probably know best. :) I found this article on Rails and JSONB which also includes benchmarks (see code) which I'd like to base it on. |
You probably want to benchmark the SQL queries in isolation, without ruby. So, I would take the SQL generated by PT+AR, put it in a few |
Hmm, while this would measure the performance quite accurately for the PostgreSQL, wouldn't it be more useful for the users (most being Rails users, I guess) to measure "real world" performance, as in, using Ruby for the benchmark? |
No description provided.