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

_runDelayedTriggers performance issue #161

Open
dpmragu opened this issue Jun 21, 2017 · 1 comment
Open

_runDelayedTriggers performance issue #161

dpmragu opened this issue Jun 21, 2017 · 1 comment

Comments

@dpmragu
Copy link

dpmragu commented Jun 21, 2017

I am facing performance issue when I load a large number of data set from my application. I used javascript profiler to identify the root cause. And found that one of the function _runDelayedTriggers() took long time in the backbone-nested.js(line number : 233) . Please refer the below screenshot that captured from Javascript profiler.

Can you please someone help to resolve this issue?

image

image

@McBoof
Copy link

McBoof commented Jul 3, 2018

We've had the same issue and will supply a patch for this. The issue is that shift() is REALLY slow on a huge array. We've seen 15 secs just to shift() and array to nothing vs 3 ms to loop over it.

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