3.2.0

IE databinding twice as slow as firefox

Hi Alex,

I am using ActiveWidgets at my company (I have been newly assigned to the project), and am doing performance diagnostics on the grid..

In an example I have, the following "binding" code of the datamodel to the grid..

document.getElementById(this.prefix + "-body").innerHTML = obj;

is twice as slow in IE as it is in Firefox (in my particular example, it takes 5 seconds in firefox, and 10 seconds in IE)..

My experience with this is because of DOM is significantly slower than uising innerHTML to render... Since your source is obsfucated, can you tell me if this is the problem (see article: http://www.quirksmode.org/dom/innerhtml.html)

and if you have any plans to deal with it.

Thanks!

Carl
Carl
April 10,
Carl,

the AW library in general does not use DOM manipulation (except few minor cases) exactly for this reason. However this is very complicated topic - some features work much faster in FF, others in IE.

10 seconds seems too much for me (unless you switched off virtual mode).

Also while measuring performance make sure your code does not have memory leaks which affect js speed a lot (or restart browser/machine).

Alex (ActiveWidgets)
April 10,

This topic is archived.

See also:


Back to support forum