Can you show me the exact calls you're making?
One thing that may help is to use ?expand=<fieldname> in your calls. You
can retrieve sub-resources a bit this way. For example, retrieving review
requests with ?expand=reviews.
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com
On Wed, Apr 10, 2013 at 3:32 AM, Ethan Lowry <ethanma...@gmail.com> wrote:
> Hey Christian,
> The section of code taking so long does the following:
> - Recieves a page of json results from an earlier request retrieving
> review requests
> - For each individual review request, I'm checking if / how often it's
> been reviewed so each time I create a new Resource from
> 'request['links']['reviews']['href']' and do a .get request on that to
> count the number of results.
> I'm pretty sure those are the only calls to the server made throughout the
> section that is taking forever.
> For the record I'm using ruby and the Rest
> Client<https://github.com/rest-client/rest-client> gem.
> In looking through it again I did spot a potential area for better
> efficiency so I'll try that in the meantime, any thoughts appreciated
> On Wednesday, 10 April 2013 11:10:48 UTC+1, Christian Hammond wrote:
>> Hi Ethan,
>> I can't think of a reason it would be slower since 1.6. It certainly
>> doesn't appear to be slower for anything I've done in 1.7 (and the web UI
>> uses the API for most of its operations as well).
>> What calls are you making?
>> Christian Hammond - chi...@chipx86.com
>> Review Board - http://www.reviewboard.org
>> Beanbag, Inc. - http://www.beanbaginc.com
>> On Wed, Apr 10, 2013 at 3:07 AM, Ethan Lowry <ethan...@gmail.com> wrote:
>>> So I have a ruby script used for grabbing information on RB requests etc
>>> from our Review Board. It was pretty slow at the best of times but since we
>>> upgraded to the latest version of RB yesterday from 1.6 the time it takes
>>> the script to run has been multiplied by about 5 =/
>>> I can give more details on the specific requests being made if needed
>>> but does anyone off the top of their head know of any changes to the API or
>>> anything since 1.6 that might be causing this?
>>> Want to help the Review Board project? Donate today at
>>> Happy user? Let us know at
>>> To unsubscribe from this group, send email to reviewboard...@**
>>> For more options, visit this group at http://groups.google.com/**
>>> You received this message because you are subscribed to the Google
>>> Groups "reviewboard" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to reviewboard...@**googlegroups.com.
>>> For more options, visit
Want to help the Review Board project? Donate today at
Happy user? Let us know at http://www.reviewboard.org/users/
To unsubscribe from this group, send email to
For more options, visit this group at
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/groups/opt_out.