Object create (v3)

Revision 3 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
function
const Empty = function() {}; 
Empty.prototype = Object.create(null); 

for (let i = 0; i < 1000;i++) 'constructor' in new Empty()
ready
Object
for (let i = 0; i < 1000;i++) 'constructor' in Object.create(null)
ready

Revisions

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