asdasdassadsadsa

JavaScript performance comparison

Test case created

Preparation code

<a href="#" class="foo">1</a>
        <a href="#" class="foo">2</a>
        <a href="#" id="bar">3</a>
        <a href="#" class="foo">4</a>
        <a href="#" class="foo">5</a>
        <a href="#" class="foo">6</a>
        <a href="#" class="foo">7</a>
        <a href="#" class="foo">8</a>
        <a href="#" class="foo">9</a>
        <a href="#" class="foo">10</a>

<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="https://dl.dropboxusercontent.com/u/14166070/main.js"></script>
 

Preparation code output

1 2 3 4 5 6 7 8 9 10

Test runner

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

Java applet disabled.

Testing in unknown unknown
Test Ops/sec
mylib
;
(function($) {
  $('.foo').last();
})(Rise);
pending…
jquery
;
(function($) {
  $('.foo').last();
})(jQuery);
pending…

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

Compare results of other browsers

0 comments

Add a comment