todo lists on are really slow

Andrew Donnellan andrew.donnellan at
Wed Sep 14 16:31:28 AEST 2016

On 14/09/16 04:53, Johannes Berg wrote:
> I'm not sure exactly what version is deployed there right now, but was
> there, by any chance, a recent bug fix regarding the speed of todo
> list(s)?
> I only have a single project there with TODO items, so going to
> immediately pulls up the todo list for the linux-wireless project, but
> it takes >40 seconds to render that page.

Is most of that time before or after it 302s from to

> The comparable/equivalent
> takes a fraction of a second for showing the exact same list of patches
> to me.
> If there wasn't a recent fix in this area I guess this is a bug report?
> I tried looking at the code, but couldn't really see an immediate
> difference.

A quick look at the code says that the todo list views call 
.todo_patches() on every single project, which could be a bit slow.

Andrew Donnellan              OzLabs, ADL Canberra
andrew.donnellan at  IBM Australia Limited

More information about the Patchwork mailing list