Script Preparation code:
Tests:

Historical Performance Data aggregated from 5 community runs

Desktop Results:
Chrome 5 runs
creating temporary objects
20K/s
Array.reduce
16K/s
Object.fromEntries
3K/s

Fastest: creating temporary objects (7.8x faster)

View exact numbers
  • creating temporary objects: 19,920 ops/sec
  • Array.reduce: 16,092 ops/sec
  • Object.fromEntries: 2,560 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Object.fromEntries
    creating temporary objects
    Array.reduce

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 months ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36
Chrome 147 on Linux
View result in a separate tab
creating temporary objects
6K/s
Array.reduce
4K/s
Object.fromEntries
707/s
View exact numbers
Test name Executions per second
creating temporary objects 6,138 Ops/sec
Array.reduce 3,955 Ops/sec
Object.fromEntries 707 Ops/sec