facebook / react-strict-dom

React Strict DOM (RSD) standardizes the development of styled React components for web and native.
https://facebook.github.io/react-strict-dom
MIT License
3.19k stars 161 forks source link

Reorg tests and package entries #203

Closed necolas closed 2 months ago

necolas commented 2 months ago
github-actions[bot] commented 2 months ago

workflow: benchmarks/size

Comparison of minified (terser) and compressed (brotli) size results, measured in bytes. Smaller is better. Results Base Patch Ratio
react-strict-dom/dist/dom/index.js
· compressed 2,488 2,488 1.00
· minified 8,586 8,586 1.00
react-strict-dom/dist/dom/runtime.js
· compressed 836 836 1.00
· minified 2,365 2,365 1.00
react-strict-dom/dist/native/index.js
· compressed 15,378 15,378 1.00
· minified 57,172 57,172 1.00
github-actions[bot] commented 2 months ago

workflow: benchmarks/perf (native)

Comparison of performance test results, measured in operations per second. Larger is better. Results Base Patch Ratio
css.create
· small 1,092,602 1,160,809 1.06 !!
· small with units 445,051 451,424 1.01 +
· small with variables 679,631 690,816 1.02 +
· several small 319,873 331,104 1.04 +
· large 214,477 214,548 1.00 +
· large with polyfills 149,546 150,164 1.00 +
· complex 102,086 103,334 1.01 +
· unsupported 224,408 228,529 1.02 +
css.createTheme
· simple theme 221,962 220,300 0.99 -
· polyfill theme 208,189 208,523 1.00 +
css.props
· small 241,293 243,793 1.01 +
· small with units 186,485 190,842 1.02 +
· small with variables 105,473 104,484 0.99 -
· small with variables of units 72,649 74,104 1.02 +
· large 103,061 104,605 1.01 +
· large with polyfills 26,070 26,271 1.01 +
· complex 18,212 18,297 1.00 +
· unsupported 75,652 76,852 1.02 +
· simple merge 160,574 164,561 1.02 +
· wide merge 13,962 13,946 1.00 -
· deep merge 13,794 13,682 0.99 -
· themed merge 31,867 31,749 1.00 -