Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] Monitore size of key system modules #26712

Merged

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Jun 12, 2021

A follow-up on #26668 (comment), as we plan to add more modules to the system package. It should help monitor the size of its two main modules, simplifying the problem by removing tree-shaking from the equation.

@oliviertassinari oliviertassinari added performance package: system Specific to @mui/system core Infrastructure work going on behind the scenes labels Jun 12, 2021
@mui-pr-bot
Copy link

mui-pr-bot commented Jun 12, 2021

Details of bundle changes (experimental)

Generated by 🚫 dangerJS against 3fa4539

Comment on lines +82 to +85
{
name: 'createStyled',
path: 'packages/material-ui-system/build/esm/createStyled.js',
},
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{
name: 'createStyled',
path: 'packages/material-ui-system/build/esm/createStyled.js',
},
{
name: 'createStyled',
path: 'packages/material-ui-system/build/esm/createStyled.js',
},
{
name: 'createTheme',
path: 'packages/material-ui-system/build/esm/createTheme.js',
},

?

Copy link
Member Author

@oliviertassinari oliviertassinari Jun 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't measure createTheme as it's already accounted for inside createStyled and createBox.

@oliviertassinari oliviertassinari merged commit 2d4d066 into mui:next Jun 14, 2021
@oliviertassinari oliviertassinari deleted the system-follow-size-styled branch June 14, 2021 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Infrastructure work going on behind the scenes package: system Specific to @mui/system performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants