ui-grid
ui-grid copied to clipboard
With large data and grouping, expand/collapse rows seems to be very slow.
I have more than 60000 rows and group them into several groups. When expand/collapse rows, it take at least several seconds to re-draw the grid.
Here is a plunker to show the problem: http://plnkr.co/edit/5C7B3RU0kLszzgyr7xyf?p=preview
However, in v2 with the same data set and grouping setting, it seems to be quite fast. Is there any way to improve the performance or why it becomes so slow in v3.
At first glance, I thought that GC and redraw was the culprit but a closer look shows that the grid's sorting is the issue.
I attach 2 files here:
This image shows what functions take most time when doing the actual grouping. I have the full timeline data, but it's around 76MB (for just the act of grouping the grid's data...).
Testing the expand/collapse rows shows the same image.
When seeing this there are 2 main solutions:
- Improve the sorting algorithm
- Web workers :)
+1
+1
Our team is using ag-grid enterprise to view up to 64mb of log data. Web worker support and other perf improvements would be very much appreciated 😄