The section of code taking so long does the following:
- Recieves a page of json results from an earlier request retrieving
- 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
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?
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.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 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
>> "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> For more options, visit https://groups.google.com/groups/opt_out.
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.