Create empty object without prototype

Benchmark created on


Setup

function Blank() {}
Blank.prototype = Object.create(null)

Test runner

Ready to run.

Testing in
TestOps/sec
Object.create(null)
const obj1 = Object.create(null)
ready
new Blank()
const obj2 = new Blank()
ready

Revisions

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