https://bugzilla.wikimedia.org/show_bug.cgi?id=71971
--- Comment #12 from Mpaa mpaa.wiki@gmail.com --- 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&ma...
with:
https://en.wikipedia.org/w/api.php?inprop=protection&giulimit=5&maxl...