[PATCH] views: Prefetch 'Patch.check_set'
Finucane, Stephen
stephen.finucane at intel.com
Tue Mar 22 05:22:01 AEDT 2016
On 16 Mar 09:52, Finucane, Stephen wrote:
> On 15 Mar 16:01, Andy Doan wrote:
> > On 03/15/2016 02:16 PM, Stephen Finucane wrote:
> > >The checks for each Patch are queried each time patches are listed.
> > >This causes a deluge of queries (around one per patch). Mitigate this
> > >by instead prefetching this related attribute. This reduces the number
> > >of queries from an average of 119 to 20.
> > >
> > >Signed-off-by: Stephen Finucane <stephen.finucane at intel.com>
> >
> > Reviewed-by: Andy Doan <andy.doan at linaro.org>
>
> Merged. Thanks for the review.
Also backported to 'stable/1.1', as this is pretty much a performance
bug.
More information about the Patchwork
mailing list