Element_Creation

Benchmark created by Chris on


Preparation HTML

<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>

Test runner

Ready to run.

Testing in
TestOps/sec
Create Element Jquery
jQuery(document.createElement("div")).attr("id", "dialog-overlay");
ready
Create Element DOM
var link = document.createElement('a');
link.setAttribute('id', 'dialog-overlay');
ready

Revisions

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