todo lists on patchwork.kernel.org are really slow

Johannes Berg johannes at sipsolutions.net
Wed Sep 14 16:38:07 AEST 2016


On Wed, 2016-09-14 at 16:31 +1000, Andrew Donnellan wrote:
> 
> > 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?

After. The internal redirect is instantaneous.

> > 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.

That would be before the redirect though, no? Also, every page (while
logged in) loads the n_todo_pages(), and that takes virtually no time
at all.

Thanks,
johannes


More information about the Patchwork mailing list