-
Notifications
You must be signed in to change notification settings - Fork 722
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
Serious Performance Issue with New $interval added 1.2.2 #235
Comments
Can't it be the same as #186 ?
|
No, it does not matter if reach the end, It is related that the $interval method works indefinitely causing an endless digest cycles |
Hey, sorry about that. There's any suggestion to fix the issue? |
Sorry, I don't know what this fix meant to do, I have no problems with 1.2.0. One can always use the disable option, If you can elaborate I'll be happy to help |
I confirm the issue. Angular tests in our app started to fail with timeout. Reverting to 1.2.1 |
Confirmed here, too. Showstopper. |
+1 |
Same issues over here, looks like the |
@sergiovilar before making any suggestions, what was the reason for adding the interval and making it run the digest cycle? |
+1 I have the same problem. It broke our protractor tests in chrome only. Firefox worked which is strange. |
+1 breaking all our protractor tests! |
+1 I can confirm this issue, and confirm that it works when you change the code back. what does the new code do anyway? |
@sergiovilar could you PR a fix please? |
+1 I have this problem with 1.2.2, not in 1.2.0. |
+1, also happens on 1.2.2 |
+1, happens on 1.2.2 but not on 1.2.1. |
+1, although for me it happens on 1.2.1. |
@sroze @sergiovilar |
@onemenny just revert to an old release on your app until this is fixed. |
In my opinion it should be at least mentioned in the readme just to use 1.2.0 |
@janhartigan That's exactly what I did, but still, this is kind of ridicules that the main version is not functioning for that long. @david-gang is right |
+1 Took me and my team quite some time to figure this one out 😢 |
True, I'll fix that today.
|
I'm having an issue where there are over 200 digests per second just from implementing this plugin in a sample barebone project. Think it's related as well. |
+1 reverting to 1.2.1 fixed it for me |
What's the status of that? Version 1.2.0 doesn't work for me (it doesn't have |
Reverting to 1.2.1 or 1.2.0 didn't work for me. Is there any update on this? |
There was a pull request merged and closed recently, but no new version released yet. @sroze could you release at least patch version? Thank you in advance. |
Some users report that this is not working in 1.2.1 either. Can anyone confirm that the Pull Request changes fix the issue? Also, any update on publishing 1.2.3? |
NPM "ng-infinite-scroll": "1.2.0", is the only one that works for me. |
We are also experiencing this, more than 3 month after this serious bug was reported it is still not resolved. Please release a new version with a fix for this (as someone stated it seems to be merged) and publish it to NPM (it seems the last version on NPM is 1.2.1 while github already has 1.2.2). |
Downgrading ng-infinite-scroll to 1.2.0 to avoid infinite digest loops which kills performance. See sroze/ngInfiniteScroll#235
Downgrading ng-infinite-scroll to 1.2.0 to avoid infinite digest loops which kills performance. See sroze/ngInfiniteScroll#235
@onemenny @eXaminator please try 1.3.0 |
Tested 1.3.0 - $interval has it's 3rd parameter again, performance is back to normal. Thanks, @graingert for fixing this! |
@sergiovilar Commited a change 68c505d
This causes a serious performance degregation since the count was removed from the $interval call - it causes a digest loop to run indefinitely which will slow down to the ground every application
The new version 1.2.2 is just not usable and should revert to 1.2.0
The text was updated successfully, but these errors were encountered: