Skip to content

Allow native to use CSS 'isolation' - #184

Merged
necolas merged 1 commit into
mainfrom
add-css-isolation
Aug 8, 2024
Merged

Allow native to use CSS 'isolation'#184
necolas merged 1 commit into
mainfrom
add-css-isolation

Conversation

@necolas

Copy link
Copy Markdown
Contributor

@github-actions

Copy link
Copy Markdown

workflow: benchmarks/size

Comparison of minified (terser) and compressed (brotli) size results, measured in bytes. Smaller is better.

ResultsBasePatchRatio
react-strict-dom/dist/dom/index.js
· compressed2,5732,5731.00
· minified8,8238,8231.00
react-strict-dom/dist/dom/runtime.js
· compressed8368361.00
· minified2,3652,3651.00
react-strict-dom/dist/native/index.js
· compressed15,05615,0881.00+
· minified54,90254,9141.00+

@github-actions

Copy link
Copy Markdown

workflow: benchmarks/perf (native)

Comparison of performance test results, measured in operations per second. Larger is better.

ResultsBasePatchRatio
css.create
· small1,141,8511,146,4941.00+
· small with units435,387454,7421.04+
· small with variables681,802678,9801.00-
· several small335,157329,9250.98-
· large219,164216,6920.99-
· large with polyfills153,055151,9030.99-
· complex104,579103,7320.99-
· unsupported227,356229,4921.01+
css.createTheme
· simple theme223,594221,4600.99-
· polyfill theme209,750210,4581.00+
css.props
· small241,296242,3701.00+
· small with units190,119189,0390.99-
· small with variables104,773105,3401.01+
· small with variables of units73,97074,0971.00+
· large103,666104,2721.01+
· large with polyfills25,58625,8251.01+
· complex17,67017,8271.01+
· unsupported75,62075,4331.00-
· simple merge161,157161,4151.00+
· wide merge13,57413,6831.01+
· deep merge13,41313,5061.01+
· themed merge32,30032,1020.99-

@necolas
necolas merged commit 9f83dd4 into mainAug 8, 2024
@necolas
necolas deleted the add-css-isolation branch August 8, 2024 23:40
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@necolas@facebook-github-bot