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

[DataGrid] Filtering performance: V7 API #9254

Merged
merged 46 commits into from
Jun 28, 2023

Conversation

romgrk
Copy link
Contributor

@romgrk romgrk commented Jun 7, 2023

Includes points 1 & 9 from #9120.

@mui-bot
Copy link

mui-bot commented Jun 7, 2023

Netlify deploy preview

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

Updated pages

These are the results for the performance tests:

Test case Unit Min Max Median Mean σ
Filter 100k rows ms 322.6 623.5 425.5 455.8 106.494
Sort 100k rows ms 537.5 1,154.3 537.5 878.26 210.621
Select 100k rows ms 205.5 388.4 232.8 268.54 66.52
Deselect 100k rows ms 164.6 485 236.9 258.84 117.62

Generated by 🚫 dangerJS against ffa0250

@romgrk romgrk added performance component: data grid This is the name of the generic UI component, not the React module! labels Jun 7, 2023
@romgrk
Copy link
Contributor Author

romgrk commented Jun 7, 2023

I have a few small bugs to hunt down but the overall architectural changes match what I understood from our discussions in the experiment PR, so this is ready-ish for review.

@github-actions github-actions bot added PR: out-of-date The pull request has merge conflicts and can't be merged labels Jun 8, 2023
Copy link
Member

@MBilalShafi MBilalShafi left a comment

Choose a reason for hiding this comment

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

Thanks for splitting the larger PR.
The plan is to merge the PR now and get rid of the v6 code with v7, right?

@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Jun 9, 2023
@mui mui deleted a comment from github-actions bot Jun 9, 2023
@mui mui deleted a comment from github-actions bot Jun 9, 2023
@romgrk
Copy link
Contributor Author

romgrk commented Jun 9, 2023

Thanks for splitting the larger PR. The plan is to merge the PR now and get rid of the v6 code with v7, right?

Yes, we get rid of code at v7.

@romgrk romgrk requested a review from MBilalShafi June 9, 2023 13:23
@romgrk romgrk requested a review from cherniavskii June 21, 2023 02:14
Copy link
Member

@cherniavskii cherniavskii left a comment

Choose a reason for hiding this comment

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

Great work!

romgrk and others added 8 commits June 21, 2023 11:40
Co-authored-by: Andrew Cherniavskii <andrew.cherniavskii@gmail.com>
Signed-off-by: Rom Grk <romgrk@users.noreply.github.com>
Co-authored-by: Andrew Cherniavskii <andrew.cherniavskii@gmail.com>
Signed-off-by: Rom Grk <romgrk@users.noreply.github.com>
@romgrk
Copy link
Contributor Author

romgrk commented Jun 28, 2023

@cherniavskii I've finished linting and adding tests for filters & quick filters, if you wanna give this another look go ahead.

Copy link
Member

@cherniavskii cherniavskii left a comment

Choose a reason for hiding this comment

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

Nice!

@cherniavskii
Copy link
Member

I've opened #9511 to skip flaky tests in JSDOM.
Feel free to ignore these failed flaky tests and merge this PR

@cherniavskii cherniavskii added the feature: Filtering Related to the data grid Filtering feature label Jun 28, 2023
@romgrk romgrk merged commit 4f7e1db into mui:master Jun 28, 2023
15 of 16 checks passed
@romgrk romgrk deleted the perf-filtering-v7-filters branch June 28, 2023 20:25
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! feature: Filtering Related to the data grid Filtering feature performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants