Test name | Executions per second |
---|---|
class without declared fields | 27264.5 Ops/sec |
class with declared fields | 4042.4 Ops/sec |
function constructor | 16792.3 Ops/sec |
object literal | 1749000.9 Ops/sec |
object literal & sum.call | 553631.4 Ops/sec |
object literal & sum.bind | 133798.2 Ops/sec |
Object.create | 8923.0 Ops/sec |
Object.setPrototypeOf | 1901.5 Ops/sec |