You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tanstack's performance is not bad, but it's roughly twice as slow as AG Grid and 10x slower than the fastest solutions. Ok, maybe the performance of the customized solution isn't really comparable to that of a general grid solution like Tanstack, but something close to whatever AG Grid is doing ought to be possible. (One simple solution might be to use Alasql).
Questions:
Is there anything I can do as a user of Tanstack to accelerate or optimize aggregations?
Are there any optimizations Tanstack can do to bring the performance of aggregations closer to AG Grid's (or, ideally, closer to my "best possible" algorithm)?
Footnotes
Most grids don't have a good way to instrument the exact loading time, so these are basically eyeballed and not very accurate. Obviously they'll be different on different machines. Nevertheless the overall trends are clear enough. ↩
Somewhere between 50k and 100k records the MUI grid blows up and kills the whole browser tab. ↩
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've performed an informal grouping-and-aggregation benchmark across several popular grids (MUI, Material React Table, raw Tanstack, Adazzle, and AG Grid) in this CodeSandbox example.
Rough Loading Time (ms)1
Tanstack's performance is not bad, but it's roughly twice as slow as AG Grid and 10x slower than the fastest solutions. Ok, maybe the performance of the customized solution isn't really comparable to that of a general grid solution like Tanstack, but something close to whatever AG Grid is doing ought to be possible. (One simple solution might be to use Alasql).
Questions:
Footnotes
Most grids don't have a good way to instrument the exact loading time, so these are basically eyeballed and not very accurate. Obviously they'll be different on different machines. Nevertheless the overall trends are clear enough. ↩
Somewhere between 50k and 100k records the MUI grid blows up and kills the whole browser tab. ↩
Beta Was this translation helpful? Give feedback.
All reactions