Test name | Executions per second |
---|---|
class without declared fields | 21274.4 Ops/sec |
class with declared fields | 2912.5 Ops/sec |
function constructor | 21888.7 Ops/sec |
object literal | 1375614.8 Ops/sec |
object literal & sum.call | 1358971.0 Ops/sec |
object literal & sum.bind | 107989.1 Ops/sec |
Object.create | 8212.2 Ops/sec |
Object.setPrototypeOf | 1665.3 Ops/sec |