Test name | Executions per second |
---|---|
class without declared fields | 31707.8 Ops/sec |
class with declared fields | 5488.8 Ops/sec |
function constructor | 31277.7 Ops/sec |
object literal | 1786985.4 Ops/sec |
object literal & sum.call | 1775935.4 Ops/sec |
object literal & sum.bind | 145346.2 Ops/sec |
Object.create | 12486.9 Ops/sec |
Object.setPrototypeOf | 2699.4 Ops/sec |