jquery vs createElement (v123)

Revision 123 of this benchmark created by mflorida on


Preparation HTML

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

Test runner

Ready to run.

Testing in
TestOps/sec
jquery
var test = $('<span>');
ready
createElement
var test = document.createElement('span');
ready
jquery + createElement
var test = $(document.createElement('span'));
ready

Revisions

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