Sorry, I missed the e-mail where you attached the profile log. I'm looking
through it now.
The render_to_response was misleading. The slowdown is actually within
precompute_objects, which does some database queries. That primarily does
database queries, but the SQL logs show that they're not taking very long
individually. Certainly not a total of 2 seconds. The rendering doesn't
appear to be the slow part either.
I don't know much about PostgreSQL, but it almost sounds like there's some
issue in the configuration or something. If there's a delay in talking to
the database (locking? bad connection?) then I could see that causing this.
The low SQL query time is interesting. That makes me wonder if it's just an
issue in establishing the first connection.
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com
On Mon, Jul 19, 2010 at 5:08 AM, Stephen Gallagher <
> On 07/08/2010 07:17 AM, Stephen Gallagher wrote:
> > On 07/07/2010 06:04 PM, Christian Hammond wrote:
> >> Do you happen to have the raw profiling log file too? I want to see
> >> the SQL queries as well.
> >> There were some heavy optimizations made in Djblets for the datagrid
> >> rendering, but I'm not sure if all that made it into beta 2 or not.
> >> Christian
> > Sure, attached is the matching .prof file (gzipped since it was rather
> > large uncompressed)
> Christian, have you had a chance to look at this? I'm really unsure how
> to track this issue down.
> 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
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