Test name | Executions per second |
---|---|
class without declared fields | 37371.3 Ops/sec |
class with declared fields | 39623.8 Ops/sec |
function constructor | 36872.2 Ops/sec |
object literal | 655052.5 Ops/sec |
object literal & sum.call | 657259.4 Ops/sec |
object literal & sum.bind | 14234.5 Ops/sec |
Object.create | 2529.1 Ops/sec |
Object.setPrototypeOf | 2663.4 Ops/sec |