Object.create() or {}

Benchmark created on


Setup

const data = 'foo'

Test runner

Ready to run.

Testing in
TestOps/sec
a
const a = Object.create({ data });
ready
b
const b = { data }
ready

Revisions

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