Test name | Executions per second |
---|---|
class without declared fields | 24553.4 Ops/sec |
class with declared fields | 2669.9 Ops/sec |
function constructor | 24223.3 Ops/sec |
object literal | 1826977.5 Ops/sec |
object literal & sum.call | 1831700.0 Ops/sec |
object literal & sum.bind | 117516.4 Ops/sec |
Object.create | 7138.1 Ops/sec |
Object.setPrototypeOf | 1430.2 Ops/sec |