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

Excessively slow with multiple items #285

Open
ion-dev opened this issue Jun 7, 2023 · 0 comments
Open

Excessively slow with multiple items #285

ion-dev opened this issue Jun 7, 2023 · 0 comments

Comments

@ion-dev
Copy link

ion-dev commented Jun 7, 2023

Is zone.run really required? It's very very slow for multiple items.

I can see that in the file ngx-file-drop.js you've wrapped " this.traverseFileTree(entries[i], path + entries[i].name); " with zone.run, however, this makes it really slow.

For 1800 files it takes over 16 seconds!

with

I've tested it without and everything works fine + it takes only about 200ms.

without

Any chance you could remove this and backdate the fix to v11 ?

Thanks massively! it's a really cool feature

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

1 participant