Catrope created this task.
Catrope added projects: Performance, MediaWiki-ResourceLoader, 
MediaWiki-extensions-WikibaseClient.
Restricted Application added subscribers: Liuxinyu970226, Aklapper.
Restricted Application added projects: Wikidata, Performance-Team.

TASK DESCRIPTION
  `Wikibase\SitesModule` is a content-versioned module, and in this profile 
<https://performance.wikimedia.org/xhgui/run/callgraph?id=5d3b723cbb8544407f9cb8ae>
 of a startup module request, 16.5% of the time is spent in 
`Wikibase\SitesModule::getScript()`. This function caches its output, but only 
for 10 minutes, and it uses the server cache. Given its performance impact, we 
may want to consider caching it in WANCache instead, and for a longer period of 
time (e.g. 24 hours).
  
  If there's way for this module to provide a definition summary that is 
guaranteed to change when the module contents change, but cheaper to compute, 
that would also be helpful. But I doubt that is the case given the fact that 
2/3 of its time is spent in `DBSiteStore::getSites()`. The module also does 
message parsing, but that doesn't appear to contribute much to its slowness 
(probably because it only does it for a few "special" sites).

TASK DETAIL
  https://phabricator.wikimedia.org/T229153

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Catrope
Cc: Krinkle, Aklapper, Catrope, Liuxinyu970226, darthmon_wmde, DannyS712, 
Nandana, Imarlier, Lahi, Gq86, Darkminds3113, GoranSMilovanovic, QZanden, 
LawExplorer, Vali.matei, _jensen, rosalieper, D3r1ck01, Volker_E, Nirmos, 
Wikidata-bugs, aude, GWicke, Dinoguy1000, Jdforrester-WMF, Mbch331, Jay8g
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to