I am trying to replicate the error that the client reported, this βthis script is running slowβ notification that appears in IE due to its extremely slow JS / DOM parsing.
This does not happen on my IE6 virtual box (the client has IE6) and it does not work on the test computer that I have (some mac mini).
I can guarantee that there is a lot of JS going on, and there a lot of HTML is processed after extraction using XHR, in addition, after that a lot of JS works on the added DOM elements. I cannot publish the whole script, but I am sure that I could easily track the problem, but I want to reproduce this in order to play with its optimization.
This is a really upscale client, so I canβt just talk to the phone or talk to them. Is there a way to slow down the machine to reproduce this error? Or should I just ask for client computer specifications and try to access an older computer that will be more likely to reproduce the problem? Or even use something like a browser?
Another idea that I was thinking about would be that would make JS work even harder so that I get this problem and try to optimize my code, so even with my extra code it won't send a script error notification.
I would be grateful for any advice.
javascript debugging
meder omuraliev
source share