Test name | Executions per second |
---|---|
class without declared fields | 24453.2 Ops/sec |
class with declared fields | 4153.9 Ops/sec |
function constructor | 24219.5 Ops/sec |
object literal | 1216286.6 Ops/sec |
object literal & sum.call | 1220537.5 Ops/sec |
object literal & sum.bind | 97343.5 Ops/sec |
Object.create | 9288.4 Ops/sec |
Object.setPrototypeOf | 1863.1 Ops/sec |