-
Notifications
You must be signed in to change notification settings - Fork 408
IE10 is very slow on 0.8.4 #691
Comments
@prystoynyy , thank for posting the issue, we are discussing this issue now. |
Have same issue with IE. |
Hi all, same problem. |
Might has been fixed in 0.8.5 / #690 |
yes, it has been fixed in 0.8.5 |
@prystoynyy , I will do some test, now the source has been rollback to the version as the same as |
@prystoynyy , could you post your test repository? |
Hi. I can't share my code, because it's copyrighted, but I can share these screenshots: Debug modeProduction modeAs you can see, the first photo shows a weird behaviour. The second one shows a huge impact over performances. 75 seconds :( The funny thing is that it is happening only if Angular is running in debug mode. With production or production+aot everything is ok (photo 3) and it is quite fast. This problem happens while starting my application, but also at every page change. |
It can be related to this #698 |
@Ks89 , if in Debug mode, remove long-stack-trace-zone.js from polyfill.ts, can you check the performance result? |
@JiaLiPassion Ok. |
@Ks89, sure, thank you. |
@JiaLiPassion Hi!
|
@Ks89 , thank you very much, long-stack-trace will have some performance cost, because it will record all stack traces occurs in every async operation even no error occurs. now you can
|
@JiaLiPassion My problem is that it is so slow that I have to disable always long-stack-trace (as you can see from my screenshot, it's requiring about 75 seconds to load my application), because it's impossibile to develop in this situation. Why with Angular 2 and older versions of zone.js it was working without this issue? |
do you know which version it is ? |
Now I'm using Angular 4.0.0 and zone.js 0.8.5 and I have that problem. With Angular 2.4.10 and zone.js 0.7.2 everything was ok. With Angular 2.4.10 and zone.js 0.8.5 (I know that I shouldn't use this version with Angular 2.x.x), my application is working, but I have the same problem of Angular 4. So, I suppose that this problem is caused by zone.js >0.7.2. |
@Ks89, thank you , I will do more research on it. |
in my case this problem is appearing when updating 0.7.6 => 8.5. Looks the same application is so slow that im unable to work with it on IE. I can try to upgrade one release at the time tomorrow and figure out on which version this problem happens first. If that would be helpful. |
@prystoynyy , @Ks89 , @olaf89 , can you test the attached zone.js improve the performance or not (with long-stack-trace-zone.js) |
@JiaLiPassion |
@JiaLiPassion, attached zone.js is faster than 0.8.4, but IE still slow |
@Ks89 ,thank you for confirming, I'll do more research, in your screenshot, is that possible to see the detail of ZoneAwareError performance data? |
@prystoynyy , thank you, is that possible that you can provide a reproduce repository? |
@JiaLiPassion, I can't provide a reproduce repository, because it's copyrighted |
@JiaLiPassion I don't know how. IE is very bad. |
@Ks89, ok, I see, is that possible that you can provide a reproduce repo? I don't know how to reproduce. |
hi, guys, could you try the attached long-stack-trace-zone.js? |
@JiaLiPassion my code is copyrighted. I tried with a personal skeleton project on IE 11 with angular 4, zone.js 0.8.5 with long stacktrace and dev mode and this problem it's happening. You are very lucky :) To run use:
This is the repo: HERE The situation is not so bad like in my copyrighted project,. But it is also an issue. |
@Ks89, thank you, I will try it, can you try my previous post,https://github.com/angular/zone.js/files/875799/long.zip |
@JiaLiPassion still happening also with long-stack-trace-zone.js |
@JiaLiPassion still the same problem I think that you should try with my skeleton project :) |
@Ks89, ok , I will debug with your repo more deeply, thank you for your help. |
@Ks89, I tried you repo, it is slow, but after I replaced with the modified zone.js and long-stack-trace, it is fast, and the attache is the performance screenshot, ZoneAwareError related stack is gone, could you try the attached dist folder again? @prystoynyy, FYI |
@JiaLiPassion, thank you very much, project with attached dist folder works as with 0.7.2 |
@prystoynyy , thank you for confirm, I will do some other modification to test and try to figure out how to modify this one better. |
@prystoynyy , @Ks89, could you try to use the attached dist.zip to test again? I want to find out the exact problem, I tried @Ks89's repo, this version is also ok. |
@JiaLiPassion I confirm that now it's working. Thank you very much. |
@Ks89, thank for your confirmation, I will make a PR to fix this one. |
Hi @JiaLiPassion It's really difficult to develop with this issue. I have to compile with production config also while developing. |
Hi all, |
@lelezeus88 , yes, please wait for the 0.8.6 release, it will be released in that version, thanks! |
Do you know, approximately, when will it be released? Thanks. |
I am not sure, but I think it will be released soon, because most high priority PR have been merged. |
try to disable LongStackTrace of zone.js
2018-02-22 11:59 GMT+01:00 bharath3719 <[email protected]>:
… Facing this issue due to ZoneJs. Using the version 0.8.19 . Pls help!
[image: zone]
<https://user-images.githubusercontent.com/19222968/36534524-c7bbc460-17ec-11e8-8f71-f4e9be9b7df7.png>
[image: image]
<https://user-images.githubusercontent.com/19222968/36534752-7293cf9a-17ed-11e8-8ae2-aa18d1093720.png>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#691 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACayn5n3rNExnfD23pUETzd8Z5mRUACmks5tXUh_gaJpZM4Mj1-j>
.
|
Any leads on how to do the same ? New to angualr please excuse. if (state === REJECTED && value instanceof Error) { Removing this will disable LongStackTrace ? |
@bharath3719 , the screenshot you take doesn't mean And in
import '../zone-spec/proxy';
import '../zone-spec/sync-test';
import '../jasmine/jasmine';
import '../zone-spec/async-test';
import '../zone-spec/fake-async-test'; |
@JiaLiPassion We were importing I still see very low performance of application on IE after removing those and importing the files uve mentioned. New to this project and to angular as well.. will delete this comment once u respond back :D |
@bharath3719 , |
I have got this problem when upgrade zone.js from 0.7.2 to 0.8.4
IE is very slow through function
attachZoneAndRemoveInternalZoneFrames(error)
The text was updated successfully, but these errors were encountered: