You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
N.B. Unfortunately I don't have an answer yet to this issue and cannot make a pull rquest but felt to add it should others experience the same problem. When a solution is authored, either in this gem or rest-client, I'll be sure to link to this issue
I recently ran bundle update on my application and among the various gems that updated was rest-client, which upgraded from 1.6.8 to 1.7.1 and was released three days ago. rest-client is a dependency of rubydora whose .gemspec file does not put a limitation on the version of rest-client. I noticed a significant performance decrease when running my specs and successfully isolated the cause to rest-client.
Below is my git diff on Gemfile.lock and some time trials to prove problem. I even tried creating objects both with and without updates to Solr to ensure that the problem was with the write speed to Fedora. I create 10 AcquisitionProject objects (an ActiveFedora object) using FactoryGirl in four circumstances and use Ruby#Benchmark to give time results.
I can find nothing on the rest-client issue tracker about others experiencing the same kind of slowness so perhaps the problem is somewhere in rubydora and it's use of the RestClient class.
The text was updated successfully, but these errors were encountered:
It strikes me that the obvious answer is to amend the .gemspec file to rest-client 1.6.8 but that seems premature and doesn't solve the problem. But if that is the consensus, I'll be glad to submit the pull request.
N.B. Unfortunately I don't have an answer yet to this issue and cannot make a pull rquest but felt to add it should others experience the same problem. When a solution is authored, either in this gem or
rest-client
, I'll be sure to link to this issueI recently ran
bundle update
on my application and among the various gems that updated wasrest-client
, which upgraded from 1.6.8 to 1.7.1 and was released three days ago.rest-client
is a dependency ofrubydora
whose.gemspec
file does not put a limitation on the version ofrest-client
. I noticed a significant performance decrease when running my specs and successfully isolated the cause torest-client
.Below is my
git diff
onGemfile.lock
and some time trials to prove problem. I even tried creating objects both with and without updates to Solr to ensure that the problem was with the write speed to Fedora. I create 10 AcquisitionProject objects (an ActiveFedora object) using FactoryGirl in four circumstances and use Ruby#Benchmark to give time results.Under rest-client 1.6.8
Under rest-client 1.7.1
I can find nothing on the
rest-client
issue tracker about others experiencing the same kind of slowness so perhaps the problem is somewhere inrubydora
and it's use of the RestClient class.The text was updated successfully, but these errors were encountered: