cloneNode vs createElement Performance (v22)

Revision 22 of this benchmark created on


Description

check speeds with different elements

Preparation HTML

<script>
  var div = document.createElement("div");
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
create div
var div = document.createElement("div");
ready
clone div
var divClone = div.cloneNode(false);
ready

Revisions

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