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

Workflow: simplification of benchmark data structure #170

Closed necolas closed 4 months ago

github-actions[bot] commented 4 months ago

compressed-size: runtime library

Size change: 0.00 kB Total size: 20.35 kB

View unchanged | Filename: gzip (minify) | kB size | kB change | % change | | :--- | :--- | :--- | :--- | | `./packages/react-strict-dom/dist/dom/index.js` | **2.94** (8.79) | **0.00** (0.00) | **0.0%** (0.0%) | | `./packages/react-strict-dom/dist/dom/runtime.js` | **0.95** (2.33) | **0.00** (0.00) | **0.0%** (0.0%) | | `./packages/react-strict-dom/dist/native/index.js` | **16.45** (53.21) | **0.00** (0.00) | **0.0%** (0.0%) |
github-actions[bot] commented 4 months ago

workflow: benchmarks (native)

Comparison of benchmark test results, measured in operations per second (higher is faster.) Suite Base Patch Ratio
0
· css.create
1
· css.createTheme
2
· css.props
3
· internals
css.create
· small 1,146,473
· small with units 447,473
· small with variables 678,823
· several small 326,766
· large 219,670
· large with polyfills 152,875
· complex 104,305
· unsupported 232,144
css.createTheme
· simple theme 227,055
· polyfill theme 214,891
css.props
· small 237,580
· small with units 188,374
· small with variables 105,707
· small with variables of units 75,370
· large 102,252
· large with polyfills 26,138
· complex 18,221
· unsupported 75,333
· simple merge 161,062
· wide merge 13,829
· deep merge 13,684
internals
· extractStyleThemes 426,456
· flattenStyle 657,404