Pengo added a comment. This first comment includes the use case I'm interested in...
> **soulkeeper.wikipedia** wrote: > > 2. The species sunflower belongs to the genus Helianthus which belongs to the > tribe Heliantheae which belongs to the subfamily Helianthoideae which belongs > to the family Asteraceae which belongs to the order Asterales which belongs > to the unranked (!) group Asterids which belongs to the unranked group > Eudicots which belongs to the unranked group Angiosperms which belongs to the > kingdom Plantae. I've created a module to test this use case. It can only run on Wikidata's own wiki until this issue is resolved. Perhaps it would be useful for performance testing: https://www.wikidata.org/wiki/User:Pengo/sunflower_example CPU time usage: 0.172 seconds Note that not only are the taxa being read from separate Wikidata items, ("Magnoliidae", "Asteranae", etc), but so are the ranks ("class", "subclass", etc). I haven't done any Lua code before to access Wikidata, so my code is probably a mess. Here's another species which has a ridiculously long phylogenetic tree (as all birds in Wikidata do). I count approx. 90 entity lookups for this one: https://www.wikidata.org/wiki/User:Pengo/longer_example CPU time usage: 0.554 seconds I realize that the devs need to do more than just some simple performance tweaks to get this resolved, but maybe this will help. TASK DETAIL https://phabricator.wikimedia.org/T49930 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>. EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Pengo Cc: Pengo, Dr_Brains, jeremyb, RP88, -jem-, Wikidata-bugs, Rical, greg, Kersti, Abraham, JulesWinnfield-hu, Jasper, HenkvD, Addshore, mxn, He7d3r, Daniel_Mietchen, ValterVB, Filceolaire, Bennylin, jayvdb, Denny, Micru, aude, Qgil, matej_suchanek, Cwek, Aubrey, Ricordisamoa, Jarekt, MZMcBride, Aklapper, Hkjacksonhk, Ash_Crow, Mvolz, geraki, Yann, Multichill, Snipre, Liuxinyu970226, Florian, Pietrodn, Ainali, Chmarkine, Laddo, Lydia_Pintscher, MF-Warburg, Stryn, zhuyifei1999, Ltrlg, daniel, Danmichaelo, hoo, Jdouglas _______________________________________________ Wikidata-bugs mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs
