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

TreeSelect with large data-set causes browser to become unresponsive #64

Open
gRoberts84 opened this issue Jul 19, 2017 · 1 comment
Open

Comments

@gRoberts84
Copy link

Hi there,

I'm using TreeSelect via AntD and noticed that my dataset with approx 4000 nodes was performing extremely slow when expanding/collapsing nodes and especially when searching.

When checking the Big Data example, I had a similar issue, although this managed to cause my browser to crash (in both normal and checkStrictly modes.)

image

The above picture shows me searching for 0-0, which after taking a screenshot and beginning to report the issue, it finally came back to life:

image

Browser: Chrome 59.0.3071.115 (Official Build) (64-bit) (OSX)
Available memory: 3.10gb

Is there anyway to improve performance, even in strict checking mode?

Thanks

@tvasenin
Copy link
Contributor

tvasenin commented Nov 16, 2017

I've somewhat improved filtering performance:
#84
react-component/tree#138

Filtering is still not realtime (as the root cause with excessive node traversal calls is not fixed yet, I've just reduced the overhead caused by these calls), but it should be MUCH responsive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants