Test case name | Result |
---|---|
Reduce | |
Looping | |
Ifs | |
Destructuring | |
Object.entries | |
Single loop | |
Single reduce |
Test name | Executions per second |
---|---|
Reduce | 704414.8 Ops/sec |
Looping | 628181.1 Ops/sec |
Ifs | 1106888.8 Ops/sec |
Destructuring | 952962.7 Ops/sec |
Object.entries | 656993.4 Ops/sec |
Single loop | 468374.8 Ops/sec |
Single reduce | 586191.4 Ops/sec |