jQuery element creation (v47)

Revision 47 of this benchmark created by robert on


Preparation HTML

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

Test runner

Ready to run.

Testing in
TestOps/sec
With trailing slash
$('<svg id="blah"/>');
ready
Without trailing slash
$('<svg id="blah">');
ready
Opening and closing tags
$('<svg id="blah"></svg>');
ready
document.createElement
$(document.createElement('svg'),{'id':'blah'});
ready

Revisions

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