Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Re : Is there any possibility that steal is causing - IE8 “A script on this page is causing Internet Explorer to run slowly” alert in production mode

$
0
0
Thanks for the reply.

I have put return statement in first application callback function and I still see IE slow script warning.
 million statements are getting executed before first line of application is executed. All my production.js is doing is stealing and loading 471 files.
If it is not steal then I think my production.js is so huge that 5 million statements are getting executed. What do you think?
I dont think I have any plugins which do something on load of document.


More details - can ignore
We are not stealing any less. We precompile all less files and  load only css files.
We made sure that there are no cyclic dependencies.

Anyways build fails when there are cyclic dependencies and in dev mode application will not load because infinitely recursive cycles in steal.

We see similar error on other browsers too but algorithm is different for each browser.
IE8 - Error shows up when more than 5 million statements are executed
Firefox -  Error shows up when   it  takes more than 10 sec to executed script
Safari -  Error shows up when   it  takes more than 5 sec to executed script
Chrome - Never shows error







Viewing all articles
Browse latest Browse all 3491

Trending Articles