HTML Preparation code:
Tests:

Historical Performance Data aggregated from 10 community runs

Desktop Results:
Chrome 10 runs
Index Of
6.6M/s
Lodash unique
6.3M/s
Set
4.2M/s

Fastest: Index Of (1.6x faster)

View exact numbers
  • Index Of: 6,557,039 ops/sec
  • Lodash unique: 6,323,090 ops/sec
  • Set: 4,229,662 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
    Set
    Lodash unique
    Index Of

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
Chrome 133 on Mac OS X 10.15.7
View result in a separate tab
Lodash unique
24.4M/s
Index Of
10.8M/s
Set
9.5M/s
View exact numbers
Test name Executions per second
Lodash unique 24,356,136 Ops/sec
Index Of 10,822,368 Ops/sec
Set 9,488,148 Ops/sec