Skip to content

[docs-infra] Improve Code Prop Compression#1284

Draft
dav-is wants to merge 77 commits intomasterfrom
docs-infra/improve-code-fallback-compression
Draft

[docs-infra] Improve Code Prop Compression#1284
dav-is wants to merge 77 commits intomasterfrom
docs-infra/improve-code-fallback-compression

Conversation

@dav-is
Copy link
Copy Markdown
Member

@dav-is dav-is commented Apr 3, 2026

Note

This PR is a work in progress.

To improve the compression ratio when we have a ContentLoading component, we should pass the fallback string into the compression pipeline

This should also improve performance for the first render

@github-actions github-actions Bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged. label Apr 9, 2026
Base automatically changed from docs-infra/type-prop-compression to master April 16, 2026 15:14
@github-actions github-actions Bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Apr 16, 2026
@code-infra-dashboard
Copy link
Copy Markdown

code-infra-dashboard Bot commented Apr 16, 2026

Deploy preview

Performance

Total duration: 16.50 ms +0.18 ms(+1.1%) | Renders: 4 (+0) | Paint: 71.82 ms +5.72 ms(+8.7%)

Test Duration Renders
HeavyList mount 10.20 ms 🔺+0.09 ms(+0.9%) 1 (+0)
DataGrid mount with paint timing 2.09 ms 🔺+0.05 ms(+2.4%) 1 (+0)
Counter click 4.22 ms 🔺+0.04 ms(+1.0%) 2 (+0)

Details of benchmark changes

Bundle size

Bundle Parsed size Gzip size
@base-ui/react 0B(0.00%) 0B(0.00%)
@mui/x-charts-pro 0B(0.00%) 0B(0.00%)

Details of bundle changes


Check out the code infra dashboard for more information about this PR.

@github-actions github-actions Bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged. label Apr 16, 2026
@github-actions github-actions Bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Apr 24, 2026
@github-actions github-actions Bot added PR: out-of-date The pull request has merge conflicts and can't be merged. and removed PR: out-of-date The pull request has merge conflicts and can't be merged. labels Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: out-of-date The pull request has merge conflicts and can't be merged. scope: docs-infra Involves the docs-infra product (https://www.notion.so/mui-org/b9f676062eb94747b6768209f7751305). type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants