HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 8 community runs

Desktop Results:
Chrome 8 runs
Lodash map
69.2M/s
Native map
22.2M/s

Fastest: Lodash map (3.1x faster)

View exact numbers
  • Lodash map: 69,220,632 ops/sec
  • Native map: 22,156,124 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
    Lodash map
    Native map

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36 Edg/149.0.0.0
Chrome 149 on Windows
View result in a separate tab
Lodash map
58.9M/s
Native map
16.0M/s
View exact numbers
Test name Executions per second
Lodash map 58,878,776 Ops/sec
Native map 15,967,735 Ops/sec