test (v393)

Revision 393 of this benchmark created on


Preparation HTML

<div id="term"></div>

<script>
var node = document.getElementById('term')
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
createl
    node.innerHTML = '';
    var line, char, wrap;
    wrap = document.createElement("div");
    for (var y = 0; y < 50; y++) {
      line = document.createElement("div");
      for (var x = 0; x < 160; x++) {
        char = document.createElement("span");
        char.textContent = "#";
        line.appendChild(char);
      }
      wrap.appendChild(line);
    }
    node.appendChild(wrap);
ready
fragment
    node.innerHTML = '';
    var line, char, wrap;
    wrap = document.createDocumentFragment("div");
    for (var y = 0; y < 50; y++) {
      line = document.createElement("div");
      for (var x = 0; x < 160; x++) {
        char = document.createElement("span");
        char.textContent = "#";
        line.appendChild(char);
      }
      wrap.appendChild(line);
    }
    node.appendChild(wrap);
ready
for loop, cached length
ready
for loop, reverse
ready
for loop, cached length, callback
ready
for loop, cached length, callback.call
ready
$.each
ready
for ... in
ready
for loop, reverse, decrement condition
ready
for loop, reverse, pre-decrement
ready
for loop, assignment condition
ready
for loop, assignment condition, reversed
ready
for loop, assignment condition, callback
ready
for loop, assignment condition, callback.call
ready
forEach2
ready

Revisions

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