remove children

JavaScript performance comparison

Revision 454 of this test case created by

Preparation code

<div id='wrap'>
<div id='box'></div>
Benchmark.prototype.setup = function() {
  function write()
   var box = document.getElementById('box');
   for (var i = 0; i < 1000; i++) {
    var div = document.createElement('div');
    div.innerHTML = "halo <br> des <div>aaaa</div><table></table>";


Preparation code output

<div id='wrap'> <div id='box'></div> </div>

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


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