[PATCH] views: Prefetch 'Patch.check_set'

Finucane, Stephen stephen.finucane at intel.com
Wed Mar 16 20:52:25 AEDT 2016


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.


More information about the Patchwork mailing list