Ladsgroup created this task. Ladsgroup added projects: Wikidata, Wikidata-Campsite.
TASK DESCRIPTION For a simple page that doesn't use much data <https://commons.wikimedia.org/wiki/Category:Philosophers_by_century>: `Wikibase\Lib\Formatters\SnakFormat::getFallbackChain` is being called 9000 times <https://performance.wikimedia.org/xhgui/run/symbol?id=5e31d8003f3dfab32ddd8e34&symbol=Wikibase%5CLib%5CFormatters%5CSnakFormat%3A%3AgetFallbackChain>, that doesn't make much sense plus the time is spent inside the method is pretty large (40ms) for something close to non-existent. Caching the fallback chain inside the SnakFormat class as a class attribute for now would give a performance boost. TASK DETAIL https://phabricator.wikimedia.org/T243954 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Ladsgroup Cc: Addshore, Aklapper, Agabi10, Ladsgroup, darthmon_wmde, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs