-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
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
New timerFunc in rc7 is laggy #3771
Comments
Well, that's definitely a shame. Please follow the Issue Reporting Guidelines and provide a minimal JSFiddle or JSBin containing a set of reproducible steps that can lead to the behaviour you described. |
Looks like window.postMessage in chromium sometimes has random delays. The problem is it happens with about 10% chance on my project and i still havent found reliable way to reproduce it. |
If that's the case, it may be a bug with chromium. Have you tried on a stable version of any other browser? |
Delays reproduce in chromium based browsers(chrome, opera). There is no delays in firefox. Have not tried IE yet. |
That's a starting point for a repro |
I faced similar problem too in Windows 10 / Chrome 53.0.2785.116 m (64-bit). rc6: https://jsfiddle.net/k6bgu2z6/4/ In the rc6's example, yellow square don't move when scrolling container element. 1.0.27 has same problem. |
Well, that reproduction is only part of my problem(small lag), sometimes delay gets bigger. But its still same problem. |
Sigh, we may need to revert this... The primary reason I changed the implementation is because 1.0.27 / 2.0.0-rc.7 uses a setImmediate shim using I guess we will have to revert to |
New timerFunc in rc7 intoduced random lags and 100-1000ms delays before nexttick happens in my application where old timerFunc in rc6 worked just fine.
The text was updated successfully, but these errors were encountered: