Browser Diet - jQuery.each vs. for loop

JavaScript performance comparison

Revision 84 of this test case created by Ketone Slim XT Review

Preparation code

Hello, I enjoy reading all of your article. I wanted to write a little comment 
to support you.
      
<script>
Benchmark.prototype.setup = function() {
  AG

};

Benchmark.prototype.teardown = function() {
  AG

};
</script>

Preparation code output

Hello, I enjoy reading all of your article. I wanted to write a little comment to support you.

Test runner

Warning! For accurate results, please disable Firebug before running the tests. (Why?)

Java applet disabled.

Testing in CCBot 2.0.0 / Other 0.0.0
Test Ops/sec
jQuery.each
Hello, I enjoy reading all of your article. I wanted to write a little comment to support you.
pending…
for loop
Hello, I enjoy reading all of your article. I wanted to 
write a little comment to support you.
pending…
for without caching
Hello, I enjoy reading all of your article. I wanted to write a little comment to support you.
pending…
alternative for loop
Hello, I enjoy reading all of your article.
I wanted to write a little comment to support you.
pending…
reverse for
Hello, I enjoy reading all of your article.
I wanted to write a little comment to support you.
pending…
while reverse
Hello, I enjoy reading all of your article. I wanted to write a little comment to support you.
pending…

Compare results of other browsers

Revisions

You can edit these tests or add even more tests to this page by appending /edit to the URL.

0 Comments

Hello, I enjoy reading all of your article. I wanted to write a little comment to support you.