Performance issue with many features, but not much data (although it gets worse when adding more) #737
Unanswered
ml-airflow
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We have used this MRT component for a while now and it's great; it can do anything we ask of it, however, after adding features we require, we haven noticed that the performance is dropping.
I have isolated an example to show the issue here; https://github.com/ml-airflow/slow-list-reactmui/
It is incredibly slow as you can see for everything we do with it. We made a version with memoizing and that's a lot faster, however, when we have that switched on, row multi select (checkboxes), row selection (color change on select and retain that until another select) and read/unread break. It seems to be an issue of the table re-rendering every row on every state change , even though just one row changed. Because of that (if it is that, but it seems so), adding more rows makes it far worse very quickly.
We tried the same example with react-datatable and we cannot reproduce it there, however, we like MRT better and we use MUI extensively.
I hope someone here will say something along the lines of 'come on, this is trivial, just do x y z', but I couldn't find a similar issue in the few reported performance threads and we are at a loss.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions