Page MenuHomePhabricator

Apply performance budget to Minerva skin
Closed, DeclinedPublic

Description

In patch https://gerrit.wikimedia.org/r/c/mediawiki/skins/Vector/+/967918 we have added a test to check Vector and Vector 2022 Skin dependency against performance size budgets for styles and scripts.

We want to generalise that approach to be able to use it in more skins (specifically Minerva)

Proposed work

  • Upstream the test to core
  • Only run tests for skins which have defined a bundle size config.
  • Update existing bundlesize configuration in Minerva

Event Timeline

Change 970827 had a related patch set uploaded (by Mabualruz; author: Mabualruz):

[mediawiki/skins/MinervaNeue@master] Performance budget's should consider modules added by hooks

https://gerrit.wikimedia.org/r/970827

Change 970828 had a related patch set uploaded (by Mabualruz; author: Mabualruz):

[mediawiki/skins/Vector@master] Performance budget's should consider modules added by hooks

https://gerrit.wikimedia.org/r/970828

Change 970826 had a related patch set uploaded (by Mabualruz; author: Mabualruz):

[mediawiki/core@master] Performance budget's should consider modules added by hooks

https://gerrit.wikimedia.org/r/970826

@Mabualruz suggesting we move this to sprint 4 to allow us a chance to assess and iron out any issues we might find with the existing solution for Vector.

Jdlrobson renamed this task from Elevate the solution of Performance budget's to be used by more skins to Apply performance budget to Minerva skin.Nov 2 2023, 6:35 PM
Jdlrobson removed Jdlrobson as the assignee of this task.
Jdlrobson added a project: MinervaNeue.
Jdlrobson updated the task description. (Show Details)

Change 971426 had a related patch set uploaded (by Mabualruz; author: Mabualruz):

[mediawiki/skins/Vector@master] Performance budget Test message update

https://gerrit.wikimedia.org/r/971426

Change 971426 merged by jenkins-bot:

[mediawiki/skins/Vector@master] Performance budget Test message update

https://gerrit.wikimedia.org/r/971426

Change 970827 abandoned by Jdlrobson:

[mediawiki/skins/MinervaNeue@master] Elevate the solution of Performance budget's to be used by more skins

Reason:

Will post on task

https://gerrit.wikimedia.org/r/970827

Jdlrobson changed the task status from Open to Stalled.Mar 1 2024, 6:11 PM

I think having this on Vector only is sufficient. It seems to be catching the sort of issues we cared about e.g. T358432. Since most code on Minerva is a subset of Vector 2022 now, any issue with Minerva should also be flagged on Vector.

Having it on Minerva and Vector might cause too much unnecessary friction for situations where we intend bytes to increase as it would mean adjusting the budget for both skins so I am declining this ticket.

We can reopen if we have strong motivation for doing this.

Change 970828 abandoned by Jdlrobson:

[mediawiki/skins/Vector@master] Elevate the solution of Performance budget's to be used by more skins

Reason:

https://gerrit.wikimedia.org/r/970828

Change 970826 abandoned by Jdlrobson:

[mediawiki/core@master] Elevate the solution of Performance budget's to be used by more skins

Reason:

https://phabricator.wikimedia.org/T350292 was declined.

https://gerrit.wikimedia.org/r/970826