Test name | Executions per second |
---|---|
class without declared fields | 2384.5 Ops/sec |
class with declared fields | 2102.5 Ops/sec |
function constructor | 2330.1 Ops/sec |
object literal | 73558.0 Ops/sec |
object literal & sum.call | 39968.7 Ops/sec |
object literal & sum.bind | 20200.8 Ops/sec |
Object.create | 2399.8 Ops/sec |
Object.setPrototypeOf | 3941.5 Ops/sec |