We're seeing some timeouts (and a robust ranking in the top-10 query counts) for the TranslationGroup:+index page.
The culprit seems to be lots of Person queries, which can only be the translation teams in the group. There are also repeated queries for Language.
Here I introduce a view method that batch-fetches this information. It's an ideal candidate for batch-fetching: a simple three-way 1-to-1 join, no repetition whatsoever, no UI batching, and no selectivity beyond the "front gate" of the query.
In other news, the TranslationGroupView becomes an adopted child of LaunchpadView, and an <img> in the template becomes a sprite.
= Bug 327575 =
We're seeing some timeouts (and a robust ranking in the top-10 query counts) for the TranslationGrou p:+index page.
The culprit seems to be lots of Person queries, which can only be the translation teams in the group. There are also repeated queries for Language.
Here I introduce a view method that batch-fetches this information. It's an ideal candidate for batch-fetching: a simple three-way 1-to-1 join, no repetition whatsoever, no UI batching, and no selectivity beyond the "front gate" of the query.
In other news, the TranslationGrou pView becomes an adopted child of LaunchpadView, and an <img> in the template becomes a sprite.
{{{ pView -t /translationgro up.txt
./bin/test -vv -t TranslationGrou
}}}
Jeroen