Loops - increment vs decrement
Tests the speed gains when decrementing through a loop vs incrementing through a loop.
var a = [1, 43, 65, 7, 3, 2, 6, 8, 9, 5, 10, 2];
Warning! For accurate results, please disable Firebug before running the tests. (Why?)
Java applet disabled.
Compare results of other browsers
You can edit these tests or add even more tests to this page by appending
/edit to the URL. Here’s a list of current revisions for this page: