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

Refactor bundle size workflow #671

Merged
merged 1 commit into from
Aug 22, 2024
Merged

Refactor bundle size workflow #671

merged 1 commit into from
Aug 22, 2024

Conversation

necolas
Copy link
Contributor

@necolas necolas commented Aug 21, 2024

Consolidate results and produce simpler markdown table

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 21, 2024
Consolidate results and produce simpler markdown table
Copy link

workflow: benchmarks/size

Comparison of minified (terser) and compressed (brotli) size results, measured in bytes. Smaller is better.

@stylexjs/scripts@0.7.5 size:compare
./size-compare.js /tmp/tmp.ndH52sxkmZ /tmp/tmp.OpjmcRVBBR

Results Base Patch Ratio
stylex/lib/stylex.js
· compressed 899
· minified 3,223
stylex/lib/StyleXSheet.js
· compressed 1,258
· minified 3,748
rollup-example/.build/bundle.js
· compressed 563,563
· minified 10,185,348
rollup-example/.build/stylex.css
· compressed 100,211
· minified 759,868

@necolas necolas merged commit 37d7340 into main Aug 22, 2024
8 checks passed
@nmn nmn deleted the refactor-size-workflow branch September 4, 2024 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants