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.2k stars 161 forks source link

Minor refactor of Context names #175

Closed necolas closed 4 months ago

github-actions[bot] commented 4 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,563 2,563 1.00
· minified 8,788 8,788 1.00
react-strict-dom/dist/dom/runtime.js
· compressed 818 818 1.00
· minified 2,330 2,330 1.00
react-strict-dom/dist/native/index.js
· compressed 14,620 14,635 1.00 +
· minified 53,390 53,347 1.00 -
github-actions[bot] commented 4 months ago

workflow: benchmarks/perf (native)

Comparison of performance test results, measured in operations per second. Higher is faster. Results Base Patch Ratio
css.create
· small 1,138,536 1,132,713 0.99 -
· small with units 447,924 450,983 1.01 +
· small with variables 640,836 687,339 1.07 🟢
· several small 325,392 331,372 1.02 +
· large 214,605 216,755 1.01 +
· large with polyfills 152,272 153,683 1.01 +
· complex 104,877 105,215 1.00 +
· unsupported 231,223 233,865 1.01 +
css.createTheme
· simple theme 226,875 226,103 1.00 -
· polyfill theme 214,655 214,114 1.00 -
css.props
· small 237,893 238,754 1.00 +
· small with units 187,583 187,749 1.00 +
· small with variables 105,974 105,232 0.99 -
· small with variables of units 74,951 75,146 1.00 +
· large 103,562 102,807 0.99 -
· large with polyfills 26,131 26,242 1.00 +
· complex 18,109 18,298 1.01 +
· unsupported 75,248 74,980 1.00 -
· simple merge 161,916 161,964 1.00 +
· wide merge 13,794 13,795 1.00 +
· deep merge 13,596 13,676 1.01 +
· themed merge 31,181 31,305 1.00 +