Test name | Executions per second |
---|---|
class without declared fields | 12260.4 Ops/sec |
class with declared fields | 5827.9 Ops/sec |
function constructor | 12422.5 Ops/sec |
object literal | 195049.3 Ops/sec |
object literal & sum.call | 111316.7 Ops/sec |
object literal & sum.bind | 68178.6 Ops/sec |
Object.create | 19318.3 Ops/sec |
Object.setPrototypeOf | 14110.4 Ops/sec |