clone-vs-create-element

Benchmark created on


Preparation HTML

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

Setup

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

Test runner

Ready to run.

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

Revisions

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