cloneNode vs createElement Performance (v34)

Revision 34 of this benchmark created on


Description

check speeds with different elements

Setup

var div = document.createElement("div");

Test runner

Ready to run.

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

Revisions

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