Test name | Executions per second |
---|---|
class without declared fields | 6016.2 Ops/sec |
class with declared fields | 2660.6 Ops/sec |
function constructor | 6657.3 Ops/sec |
object literal | 60917.3 Ops/sec |
object literal & sum.call | 36590.5 Ops/sec |
object literal & sum.bind | 23785.2 Ops/sec |
Object.create | 7113.7 Ops/sec |
Object.setPrototypeOf | 6002.5 Ops/sec |