todo lists on patchwork.kernel.org are really slow

Andrew Donnellan andrew.donnellan at au1.ibm.com
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
>
> https://patchwork.kernel.org/user/todo/
>
> 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 
https://patchwork.kernel.org/user/todo/ to 
https://patchwork.kernel.org/user/todo/linux-wireless?

> The comparable/equivalent
>
> https://patchwork.kernel.org/project/linux-wireless/list/?delegate=90
>
> 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 au1.ibm.com  IBM Australia Limited



More information about the Patchwork mailing list