Script Preparation code:
Tests:
  • Array.from().reduce() reusing object

  • Array.from(o, mapFn).reduce() reusing object

  • Entries from Array.from(o, mapFn).reduce()

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.from().reduce() reusing object
    Array.from(o, mapFn).reduce() reusing object
    Entries from Array.from(o, mapFn).reduce()

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36 Edg/127.0.0.0
Chrome 127 on Mac OS X 10.15.7
View result in a separate tab
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


;