HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 7 community runs

Desktop Results:
Chrome 7 runs
R.mapObjIndexed
5K/s
Reduce (reuse object)
3K/s
Object.fromEntries
249/s

Fastest: R.mapObjIndexed (22.0x faster)

View exact numbers
  • R.mapObjIndexed: 5,470 ops/sec
  • Reduce (reuse object): 2,778 ops/sec
  • Object.fromEntries: 249 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
    Reduce (reuse object)
    R.mapObjIndexed

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
Chrome 125 on Windows
View result in a separate tab
R.mapObjIndexed
6K/s
Reduce (reuse object)
3K/s
Object.fromEntries
268/s
View exact numbers
Test name Executions per second
R.mapObjIndexed 6,094 Ops/sec
Reduce (reuse object) 2,778 Ops/sec
Object.fromEntries 268 Ops/sec