Skip to content

Conversation

@vincentriemer
Copy link
Contributor

test: stabilize CLI and babel-plugin tests

  • Normalize debug file root to keep snapshots consistent across repo paths.
  • Treat CLI stderr as non-fatal unless the process exits nonzero.

* Normalize debug file root to keep snapshots consistent across repo paths.
* Treat CLI stderr as non-fatal unless the process exits nonzero.
@vercel
Copy link

vercel bot commented Jan 14, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
stylex Ready Ready Preview, Comment Jan 14, 2026 5:23pm

@meta-cla meta-cla 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 Jan 14, 2026
@github-actions
Copy link

workflow: benchmarks/perf

Comparison of performance test results, measured in operations per second. Larger is better.
yarn workspace v1.22.22
yarn run v1.22.22
$ node ./compare.js /tmp/tmp.gTWuQZx1S9 /tmp/tmp.EGpKRYc14r

Results Base Patch Ratio
babel-plugin: stylex.create
· basic create 503 481 0.96 -
· complex create 60 59 0.98 -
babel-plugin: stylex.createTheme
· basic themes 380 387 1.02 +
· complex themes 30 31 1.03 +
Done in 0.08s.
Done in 0.34s.

@github-actions
Copy link

workflow: benchmarks/size

Comparison of minified (terser) and compressed (brotli) size results, measured in bytes. Smaller is better.
yarn workspace v1.22.22
yarn run v1.22.22
$ node ./compare.js /tmp/tmp.QB3Ew1MMSW /tmp/tmp.QCoGy2IGmA

Results Base Patch Ratio
@stylexjs/stylex/lib/cjs/stylex.js
· compressed 1,311 1,311 1.00
· minified 4,150 4,150 1.00
@stylexjs/stylex/lib/cjs/inject.js
· compressed 1,793 1,793 1.00
· minified 4,915 4,915 1.00
benchmarks/size/.build/bundle.js
· compressed 496,650 496,650 1.00
· minified 4,847,840 4,847,840 1.00
benchmarks/size/.build/stylex.css
· compressed 99,853 99,853 1.00
· minified 747,541 747,541 1.00
Done in 0.08s.
Done in 0.33s.

@vincentriemer vincentriemer marked this pull request as ready for review January 14, 2026 17:30
@vincentriemer vincentriemer merged commit ab57a37 into main Jan 14, 2026
10 checks passed
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.

3 participants