DOM creation libraries (v29)

Revision 29 of this benchmark created on


Description

Tests crel2 with the new crel2 (6/10/2014)

Preparation HTML

<script src="https://rawgithub.com/forestrf/crel2/master/crel2.js">
</script>
<script>crel3 = crel2;</script>
<script src="https://raw.githubusercontent.com/forestrf/crel2/319542fc7b24974867d95a0e80a5afa221d26488/crel2.js">
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
crel2
crel2('section', crel2('h1', "A title"), crel2('h2', "A sub title"), crel2('br'), crel2('button', [
  "class", "things"
], "THING1"), crel2('button', [
  "class", "things"
], "THING2"), crel2('button', [
  "class", "things"
], "THING3"), crel2('button', [
  "class", "things"
], "THING4"), crel2('button', [
  "class", "things"
], "THING5"), crel2('button', [
  "class", "things"
], "THING6"), crel2('span', [
  "class", "majigger"
], crel2('a', [
  "href", "http://www.google.com"
], "A link")), "Blady bla bla, some text and that.", crel2('table', [
  "id", "initialtests"
], crel2('thead', crel2('tr', crel2('th', "Column header"), crel2('th', "another one"), crel2('th', "AND ANOTHER"), crel2('th', "OMG SO MANY COLUMN HEADERS"))), crel2('tbody', crel2('tr', crel2('td', "1"), crel2('td', "2"), crel2('td', "3"), crel2('td', "4")))));
ready
crel2 nuevo
crel3('section', crel3('h1', "A title"), crel3('h2', "A sub title"), crel3('br'), crel3('button', [
  "class", "things"
], "THING1"), crel3('button', [
  "class", "things"
], "THING2"), crel3('button', [
  "class", "things"
], "THING3"), crel3('button', [
  "class", "things"
], "THING4"), crel3('button', [
  "class", "things"
], "THING5"), crel3('button', [
  "class", "things"
], "THING6"), crel3('span', [
  "class", "majigger"
], crel3('a', [
  "href", "http://www.google.com"
], "A link")), "Blady bla bla, some text and that.", crel3('table', [
  "id", "initialtests"
], crel3('thead', crel3('tr', crel3('th', "Column header"), crel3('th', "another one"), crel3('th', "AND ANOTHER"), crel3('th', "OMG SO MANY COLUMN HEADERS"))), crel3('tbody', crel3('tr', crel3('td', "1"), crel3('td', "2"), crel3('td', "3"), crel3('td', "4")))));
ready

Revisions

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