HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 6 community runs

Desktop Results:
Chrome 6 runs
Array.prototype.map
8.5M/s
lodash.map
8.1M/s
Ramda.map
6.7M/s
Immutable.map
1.0M/s

Fastest: Array.prototype.map (8.3x faster)

View exact numbers
  • Array.prototype.map: 8,473,516 ops/sec
  • lodash.map: 8,129,083 ops/sec
  • Ramda.map: 6,737,811 ops/sec
  • Immutable.map: 1,025,894 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
    Ramda.map
    Array.prototype.map
    lodash.map
    Immutable.map

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Chrome 132 on Linux
View result in a separate tab
lodash.map
9.7M/s
Ramda.map
7.4M/s
Array.prototype.map
6.2M/s
Immutable.map
726K/s
View exact numbers
Test name Executions per second
lodash.map 9,732,593 Ops/sec
Ramda.map 7,365,436 Ops/sec
Array.prototype.map 6,165,922 Ops/sec
Immutable.map 725,712 Ops/sec