Test name | Executions per second |
---|---|
class without declared fields | 6164.2 Ops/sec |
class with declared fields | 5547.4 Ops/sec |
function constructor | 6139.3 Ops/sec |
object literal | 179710.4 Ops/sec |
object literal & sum.call | 127750.9 Ops/sec |
object literal & sum.bind | 28619.3 Ops/sec |
Object.create | 6077.2 Ops/sec |
Object.setPrototypeOf | 8550.2 Ops/sec |