Closed necolas closed 2 months ago
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,291 | 15,326 | 1.00 | + | |
· minified | 56,684 | 56,982 | 1.01 | + |
Comparison of performance test results, measured in operations per second. Larger is better. | Results | Base | Patch | Ratio | |
---|---|---|---|---|---|
css.create | |||||
· small | 1,077,532 | 1,142,985 | 1.06 | !! | |
· small with units | 444,557 | 443,180 | 1.00 | - | |
· small with variables | 679,125 | 683,921 | 1.01 | + | |
· several small | 330,331 | 330,558 | 1.00 | + | |
· large | 211,690 | 210,777 | 1.00 | - | |
· large with polyfills | 148,487 | 149,841 | 1.01 | + | |
· complex | 101,892 | 100,833 | 0.99 | - | |
· unsupported | 222,239 | 222,717 | 1.00 | + | |
css.createTheme | |||||
· simple theme | 225,010 | 226,671 | 1.01 | + | |
· polyfill theme | 211,801 | 213,201 | 1.01 | + | |
css.props | |||||
· small | 240,082 | 241,316 | 1.01 | + | |
· small with units | 189,609 | 188,339 | 0.99 | - | |
· small with variables | 103,699 | 105,099 | 1.01 | + | |
· small with variables of units | 73,896 | 75,058 | 1.02 | + | |
· large | 103,858 | 103,691 | 1.00 | - | |
· large with polyfills | 25,804 | 26,049 | 1.01 | + | |
· complex | 17,595 | 17,833 | 1.01 | + | |
· unsupported | 75,245 | 75,444 | 1.00 | + | |
· simple merge | 161,816 | 161,168 | 1.00 | - | |
· wide merge | 13,673 | 13,809 | 1.01 | + | |
· deep merge | 13,498 | 13,589 | 1.01 | + | |
· themed merge | 32,208 | 32,550 | 1.01 | + |
Text decorations are not technically inherited, but they have a similar effect. Text decorations on inline elements apply to all boxes generated by that element. For block-level elements, the setting applies to all block-level descendants in the normal flow, as well as an anonymous inline box that includes all inline children in the normal flow. However, text decorations are not propagated to absolutely positioned descendants (this detail can be polyfilled in a future patch.)
Close #195