Test name | Executions per second |
---|---|
class without declared fields | 43152.7 Ops/sec |
class with declared fields | 48616.9 Ops/sec |
function constructor | 43305.6 Ops/sec |
object literal | 682404.2 Ops/sec |
object literal & sum.call | 776168.6 Ops/sec |
object literal & sum.bind | 24597.5 Ops/sec |
Object.create | 2358.8 Ops/sec |
Object.setPrototypeOf | 2317.7 Ops/sec |