You need to sign in to do that
Don't have an account?

AJAX calls 10 times slower in IE than Firefox
I have a s-control to get data from Salesforce.com and process them, then posted on the web site. Here is the high level of my code:
var contents = "";
for(var i=0;i<queryResult.records.length;i++) {
var dynaBean = queryResult.records[i];
var field_1 = dynaBean.get("FIELD_1");
var field_2 = dynaBean.get("FIELD_2");
...
var field_n = dynaBean.get("FIELD_n");
contents += field_1 + field_2 + ... + field_n + "<br>";
}
document.getElementById("elment_id").innerHTML = contents;
This code runs perfectly fine in Firefox, but is 10 times (if not more) slower when using MS internet explorer.
Anybody has similar experience on this, please give me some advice on how I could make it run faster in IE. I have to get it work in IE, since IE is our company's authorized browser and FF is not.
Message Edited by freeman on 09-03-2006 04:14 AM
I had a long update job which I too found took 6-8 times longer on IE than Firefox. For me, this wasn't a big problem because it was an administrative task which could be run using Firefox, but I believe IE is *substantially* slower. I think it's in memory allocation and garbage collection, but don't know. If you're finding that your memory profile grows throughout the run, try to "hint" the gc to clean some things up along the way and keep the footprint small. - Steve.