Page MenuHomePhabricator

Provide observability of Data Bridge bundle sizes over time
Closed, ResolvedPublic

Description

We would like to know how much code we ship to our users at different points in time. Since we commit the shipped code (for now), that’s relatively straightforward to do: go through the git log for the files in Wikibase/client/data-bridge/dist/ and track their size over time. We want to make this development easily visible, ideally somewhere on doc.wikimedia.org (like our Storybook).

This Gerrit change is a first step in this direction, but would currently need to be run locally.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 20 2020, 10:20 AM
  • Pablo: Happy for any solution which gives us the information. If we don't have to maintain it, even better.
  • Tonina: mentioned https://www.bundle-analyzer.com/ which apparently also can do the development over time
  • Pablo: this is relevant for most all our micro frontends. If it is not more effort, maybe we can do it for tainted references (and termbox) at the same time?!

Change 594122 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/Wikibase@master] WIP: bridge, TR: doc: track dist/ size over time

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

Change 598491 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[mediawiki/extensions/Wikibase@master] build-size: run more commands in parallel

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

Change 594122 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] bridge, TR: doc: track dist/ size over time

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

Change 602109 had a related patch set uploaded (by Pablo Grass (WMDE); owner: Pablo Grass (WMDE)):
[integration/docroot@master] doc: wikibase: add dist-size for bridge & tainted ref

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

Change 602109 merged by jenkins-bot:
[integration/docroot@master] doc: wikibase: add dist-size for bridge & tainted ref

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

Change 602116 had a related patch set uploaded (by Pablo Grass (WMDE); owner: Pablo Grass (WMDE)):
[mediawiki/extensions/Wikibase@master] bridge, TR doc: take into account file removals

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

Change 602116 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] bridge, TR doc: take into account file removals

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

Change 598491 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] doc: dist-size: run requests and I/O in parallel

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