Quantcast
Channel: Internet Explorer 8, 9, 10, 11 forum
Viewing all articles
Browse latest Browse all 10469

Performance issues in IE11 using complex JS

$
0
0

I have a quite complex javascript produced by GWT and it works great in all browser (including IE10) but in IE11 I'm facing performance issues.

Activating profiler I discovered how the most consuming code is...(in order from the most consuming)

clientWidth,offsetHeight, and similar methods with impressing values:

clientWidth 32 seconds (32806ms) for just 60 calls offsetHeight 29seconds for 181 calls

it seems to me the cause of my performance issues localised in IE11 (consider the execution in IE10 is around 2seconds for the whole code) and beside naturally I can start optimise reducing the number of call (if possible) i would like to understand if there's anything wrong with methods i'm using or something else Anyone knows what's so wrong in IE11?

I checked that the browser works in standard mode and document mode is 11 but just to give a term of compare: clientWidth in the same code in document mode=10 (using IE11 and forcing it through development tools or using directly a IE10) it's 15ms... a difference of 2000times


Viewing all articles
Browse latest Browse all 10469

Trending Articles