Test name | Executions per second |
---|---|
class without declared fields | 2164.7 Ops/sec |
class with declared fields | 365.6 Ops/sec |
function constructor | 1420.7 Ops/sec |
object literal | 196115.7 Ops/sec |
object literal & sum.call | 198147.3 Ops/sec |
object literal & sum.bind | 11087.1 Ops/sec |
Object.create | 697.2 Ops/sec |
Object.setPrototypeOf | 207.3 Ops/sec |