Test case name | Result |
---|---|
ES6 Class | |
Function Prototype | |
Object Literal | |
Basic function | |
Basic functions with object destructuring |
Test name | Executions per second |
---|---|
ES6 Class | 3524369.0 Ops/sec |
Function Prototype | 4096838.0 Ops/sec |
Object Literal | 2365983.0 Ops/sec |
Basic function | 65396160.0 Ops/sec |
Basic functions with object destructuring | 63556240.0 Ops/sec |