jQuery vs createElement (v31)

Revision 31 of this benchmark created by Rock on


Description

Benchmarks from answer on StackOverflow: http://stackoverflow.com/questions/268490/jquery-document-createelement-equivalent/268520

Test runner

Ready to run.

Testing in
TestOps/sec
var a = {1: '5'}
var a = {1: '5'};
a.toString();
ready
var a = new Object();
var a = new Object();
a[1] = 5;
a.toString();
ready

Revisions

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