Google Groups

Re: Major form submission improvements.

Remi Grumeau Apr 4, 2012 2:29 AM
Posted in group: iui-developers
On ipad2

for (var i=0; i<divs.length; i++) { }73 ms
for (var i=0; divs[i]; i++) { }169 ms
for (var i=0, il=divs.length; i<il; i++) { }55 ms
for (var i in divs) { }300 ms
var il=divs.length; while(il--) { }55 ms
var i=0; while(i<divs.length) { i++; }71 ms
JQuery - $('div') -            373ms

It matters....

Sent from my iPad

On 4 avr. 2012, at 11:20 AM, Sean Gilligan <> wrote:

On 4/4/12 1:50 AM, Remi Grumeau wrote:
Well, take the test by yourself:

I forked it and moved the HTML, CSS, and JS into the separate panes to make it easier to hack on:

-- Sean

You received this message because you are subscribed to the Google Groups "iui-developers" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at