new array vs literal (v3)

Revision 3 of this benchmark created by herby on


Test runner

Ready to run.

Testing in
TestOps/sec
new Array
var arr1 = new Array("1", "2", "3");
ready
[]
var arr2 = ["1", "2", "3"];
ready

Revisions

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