Test name | Executions per second |
---|---|
class without declared fields | 2363.6 Ops/sec |
class with declared fields | 1905.7 Ops/sec |
function constructor | 2384.6 Ops/sec |
object literal | 70347.8 Ops/sec |
object literal & sum.call | 43371.4 Ops/sec |
object literal & sum.bind | 10752.6 Ops/sec |
Object.create | 2577.1 Ops/sec |
Object.setPrototypeOf | 3778.5 Ops/sec |