https://bugzilla.wikimedia.org/show_bug.cgi?id=71971

--- Comment #12 from Mpaa <[email protected]> ---
I think that the fastest way to solve this is to request 500 elements instead
of 5 in this test. The generator image usage will go much faster.
Speed is related to iulimit parameter, but I think this is out of our control
if we want to keep the same implementation for all the possible queries.

Compare speed of:

https://en.wikipedia.org/w/api.php?inprop=protection&giulimit=500&maxlag=5&generator=imageusage&format=jsonfm&giufilterredir=redirects&prop=info|imageinfo|categoryinfo&meta=userinfo&indexpageids=&action=query&giutitle=File%3AWiktionary-logo-en.svg&iiprop=timestamp|user|comment|url|size|sha1|metadata&uiprop=blockinfo|hasmsg

with:

https://en.wikipedia.org/w/api.php?inprop=protection&giulimit=5&maxlag=5&generator=imageusage&format=jsonfm&giufilterredir=redirects&prop=info|imageinfo|categoryinfo&meta=userinfo&indexpageids=&action=query&giutitle=File%3AWiktionary-logo-en.svg&iiprop=timestamp|user|comment|url|size|sha1|metadata&uiprop=blockinfo|hasmsg

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to