angular-tree-component icon indicating copy to clipboard operation
angular-tree-component copied to clipboard

Slow performance when using checkboxes

Open AleksiAleksiev opened this issue 8 years ago • 4 comments

Hi, we started using checkboxes in our project right away but when a node has around a hundred children (or more obviously), 110 in our case, performance when selecting the parent node is very poor. When it's closed it is ok, but when open it takes a couple of seconds to auto-select all children. Prod mode makes it slightly better but still not good enough. Can this be fixed without using virtual scroll?

AleksiAleksiev avatar Dec 19 '17 11:12 AleksiAleksiev

I identified the problem - will be fixed in coming release

Adam Klein Chief Technology Officer

Tel. +972-52-7475633 <+972527475633> Web 500tech.com http://www.500tech.com/ | github.com/500tech | @adamklein500 http://twitter.com/adamklein500

On Tue, Dec 19, 2017 at 1:29 PM, AleksiAleksiev [email protected] wrote:

Hi, we started using checkboxes in our project right away but when a node has around a hundred children (or more obviously), 110 in our case, performance when selecting the parent node is very poor. When it's closed it is ok, but when open it takes a couple of seconds to auto-select all children. Prod mode makes it slightly better but still not good enough. Can this be fixed without using virtual scroll?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/500tech/angular-tree-component/issues/512, or mute the thread https://github.com/notifications/unsubscribe-auth/AA2SSnek7W06QZWvi5vCIc1WYqTjwP0kks5tB53-gaJpZM4RG0pu .

adamkleingit avatar Dec 20 '17 10:12 adamkleingit

Is there a planned date for the next release. I'm currently suffering also a performance problem with the checkboxes. Don't know if it's the same, but like to test.

CC84 avatar Dec 28 '17 10:12 CC84

Any updates around this? Or is it pushed yet?

wendelstam avatar Jan 11 '18 18:01 wendelstam

Any update around this?! As I look, time complexity of written loop functions for isSelected(), isAllSelected and setIsSelected is high!

omid-nazifi avatar Feb 06 '18 10:02 omid-nazifi