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] Add assertion about checkbox rerenders #8974

Merged
merged 1 commit into from May 16, 2023

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented May 13, 2023

Related to #8942 and #7846

@oliviertassinari oliviertassinari added test performance core Infrastructure work going on behind the scenes component: data grid This is the name of the generic UI component, not the React module! labels May 13, 2023
@mui-bot
Copy link

mui-bot commented May 13, 2023

Netlify deploy preview

Netlify deploy preview: https://deploy-preview-8974--material-ui-x.netlify.app/

Updated pages

No updates.

These are the results for the performance tests:

Test case Unit Min Max Median Mean σ
Filter 100k rows ms 598.8 1,186.5 1,186.5 935.6 241.952
Sort 100k rows ms 573.6 1,445.4 1,445.4 1,009.66 332.906
Select 100k rows ms 184.7 388.9 295.1 291.48 65.858
Deselect 100k rows ms 140.9 408.7 175.7 225.88 98.642

Generated by 🚫 dangerJS against 7e02c6d

Comment on lines +824 to +825
// It shouldn't rerender rowId 1
expect(commits).to.deep.equal([{ rowId: 0 }]);
Copy link
Member Author

Choose a reason for hiding this comment

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

This test runs in < 100ms (it's not super fast, but I guess it's because of the data grid). It fails in v6.4.0 (without #8942) with this error:

Screenshot 2023-05-13 at 14 31 25

@oliviertassinari oliviertassinari marked this pull request as ready for review May 15, 2023 22:54
Copy link
Contributor

@romgrk romgrk left a comment

Choose a reason for hiding this comment

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

LGTM

@oliviertassinari oliviertassinari merged commit d7ac79c into mui:master May 16, 2023
20 of 21 checks passed
@oliviertassinari oliviertassinari deleted the performance-test branch May 16, 2023 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: data grid This is the name of the generic UI component, not the React module! core Infrastructure work going on behind the scenes performance test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants