Test

JavaScript performance comparison

Test case created

Preparation code

<form id="isinListForm">
  <table>
    <tr>
      <td>
        1111
      </td>
    </tr>
    <tr>
      <td>
        <input type="text" name="isin" class="isinInput isin-code" value="1" />
      </td>
    </tr>
</form>
</table>
</form>

Preparation code output

1111

Test runner

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

Java applet disabled.

Testing in unknown unknown
Test Ops/sec
a
< script src = "http://code.jquery.com/jquery-1.9.0.js" > < /script>
var isinListFormSize = $("#isinListForm").find("table tbody").children().size();
var isin_i1 = isinListFormSize + 1;
var isin_i2 = isinListFormSize + 2;
var isin_i3 = isinListFormSize + 3;
var isin_i4 = isinListFormSize + 4;
var isin_i5 = isinListFormSize + 5;
pending…
b
< script src = "http://code.jquery.com/jquery-1.9.0.js" > < /script>
var isin_i1 = $("#isinListForm").find("table tbody").children().size() + 1;
var isin_i2 = $("#isinListForm").find("table tbody").children().size() + 2;
var isin_i3 = $("#isinListForm").find("table tbody").children().size() + 3;
var isin_i4 = $("#isinListForm").find("table tbody").children().size() + 4;
var isin_i5 = $("#isinListForm").find("table tbody").children().size() + 5;
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