Test case name | Result |
---|---|
Array.from().reduce() reusing object | |
Array.from(o, mapFn).reduce() reusing object | |
Entries from Array.from(o, mapFn).reduce() |
Test name | Executions per second |
---|---|
Array.from().reduce() reusing object | 338409.9 Ops/sec |
Array.from(o, mapFn).reduce() reusing object | 317173.8 Ops/sec |
Entries from Array.from(o, mapFn).reduce() | 299599.2 Ops/sec |