Skip to content

Add fontSize and lineHeight to list of props that should be viewport-scaled#353

Closed
martinbooth wants to merge 1 commit into
mainfrom
fix/add-font-length-props
Closed

Add fontSize and lineHeight to list of props that should be viewport-scaled#353
martinbooth wants to merge 1 commit into
mainfrom
fix/add-font-length-props

Conversation

@martinbooth

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

github-actions Bot commented Jul 29, 2025

Copy link
Copy Markdown

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,514 2,514 1.00
· minified 8,691 8,691 1.00
react-strict-dom/dist/dom/runtime.js
· compressed 855 855 1.00
· minified 2,435 2,435 1.00
react-strict-dom/dist/native/index.js
· compressed 16,676 16,686 1.00 +
· minified 63,905 63,960 1.00 +

@github-actions

github-actions Bot commented Jul 29, 2025

Copy link
Copy Markdown

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,128,110 1,124,448 1.00 -
· small with units 447,937 488,243 1.09 !!
· small with variables 631,652 664,797 1.05 !!
· several small 331,297 352,878 1.07 !!
· large 192,365 203,703 1.06 !!
· large with polyfills 137,432 149,869 1.09 !!
· complex 96,764 104,684 1.08 !!
· unsupported 201,634 215,240 1.07 !!
css.createTheme
· simple theme 224,030 225,211 1.01 +
· polyfill theme 206,043 210,231 1.02 +
css.props
· small 229,274 11,276 0.05 !!
· small with units 190,256 8,266 0.04 !!
· small with variables 103,648 6,095 0.06 !!
· small with variables of units 76,887 4,180 0.05 !!
· large 95,978 11,434 0.12 !!
· large with polyfills 37,135 2,903 0.08 !!
· complex 23,401 1,908 0.08 !!
· unsupported 143,557 10,883 0.08 !!
· simple merge 162,293 9,235 0.06 !!
· wide merge 17,572 1,312 0.07 !!
· deep merge 17,315 2,153 0.12 !!
· themed merge 31,978 4,294 0.13 !!

@martinbooth martinbooth force-pushed the fix/add-font-length-props branch 4 times, most recently from af7d75a to 7cdecf6 Compare July 29, 2025 18:05
@martinbooth martinbooth force-pushed the fix/add-font-length-props branch from 7cdecf6 to e738e93 Compare July 29, 2025 18:06
@necolas necolas deleted the fix/add-font-length-props branch August 4, 2025 04:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants