Many projects have default gadgets enabled. In some cases this can more than double the amount of JavaScript we ship to end users, which means more code to load and a more sluggish experience. For example on Italian Wikisource, [[ https://it.wikisource.org/wiki/L%27istinto?safemode=1 | without community maintained code/gadgets ]] 315kb of assets is transferred for anonymous users on the desktop. However [[ https://it.wikisource.org/wiki/L%27istinto | with gadgets 728kb of assets ]] are transferred - which accounts for a 131% increase.
As the web team looks to roll out a performance budget, we should think about how this might apply to community maintained gadgets.
It seems helpful to focus on the extreme cases for now and work with community to understand how their default gadgets can be optimized.
The following projects which have the highest increases are as follows (with highest at top and lowest at bottom):
[] it.wikisource (131% increase)
[] ru.wikivoyage
[] fa.wikivoyage
[] zh.wiktionary
[] bn.wikisource
[] vi.wikivoyage
[] shn.wikivoyage
[] it.wikivoyage
[] en.wikivoyage
[] vec.wiktionary
[] en.wiktionary
[] shn.wiktionary
[] vi.wikipedia
[] fa.wikibooks
[] fr.wikivoyage
[] fa.wikinews
[] commons.wikimedia
[] hy.wikipedia
[] pl.wiktionary
[] fr.wiktionary
[] pl.wikipedia
[] ru.wikipedia
[] he.wikivoyage
[] vi.wiktionary
[] fa.wikiquote
[] sv.wiktionary
[] bn.wikivoyage
[] bcl.wiktionary
[] zh.wikivoyage
[] pa.wikisource
[] pa.wikisource
[] tr.wiktionary
[] sv.wikipedia
[] ku.wiktionary
[] th.wiktionary
[] meta.wikimedia
[] he.wikipedia (57.7778% increase)
(For constrast enwiki has less than a 1% increase when community gadget/site scripts are shipped)