Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collect GL and Bundle size stats. Revert #10161 #10332

Merged
merged 3 commits into from
Jan 28, 2021
Merged

Conversation

asheemmamoowala
Copy link
Contributor

This PR restores the collect-stats CI job. This collects basic WebGL usage stats and bundle size information that is used for internal tooling.

It was tested with a temporary commit in this branch, but is only enabled for commits to main. Example working commit: https://app.circleci.com/pipelines/github/mapbox/mapbox-gl-js/5696/workflows/c1f8f2bf-991a-4bf3-b1d8-9233cf113ebd/jobs/77968

What remains to be done is run through all the commits introduced in #10160 to account for missing data from those commits until right before this PR is merged. @mourner did you have a driver script for doing this from the initial implementation.

@asheemmamoowala asheemmamoowala self-assigned this Jan 27, 2021
@asheemmamoowala asheemmamoowala added the skip changelog Used for PRs that do not need a changelog entry label Jan 27, 2021
@mourner
Copy link
Member

mourner commented Jan 27, 2021

@mourner did you have a driver script for doing this from the initial implementation.

I found a script that ran through all release tags, fetching the bundle from CDN, and ran GL stats on it. In this case we need a different one that would go commit by commit, running yarn, yarn run build-prod-min and collecting sizes — I vaguely recall doing something like this but haven't found it yet.

@karimnaaji karimnaaji linked an issue Jan 27, 2021 that may be closed by this pull request
@asheemmamoowala asheemmamoowala merged commit 678aa26 into main Jan 28, 2021
@asheemmamoowala asheemmamoowala deleted the restore-gl-stats branch January 28, 2021 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip changelog Used for PRs that do not need a changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reintroduce collect-stats CI job
2 participants