Object.create() vs. constructor vs. object literal (v32)

Revision 32 of this benchmark created by Forrest L Norvell on


Setup

var o;

Test runner

Ready to run.

Testing in
TestOps/sec
Object.create(null)
Object.create(null)
ready
Object constructor
o = new Object()
ready
Object literal
o = {}
ready

Revisions

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