HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 113 community runs

Desktop Results:
Chrome 99 runs
Lodash uniqBy
1.7M/s
Set
1.6M/s
View exact numbers
  • Lodash uniqBy: 1,717,967 ops/sec
  • Set: 1,590,771 ops/sec
Firefox 14 runs
Lodash uniqBy
1.2M/s
Set
772K/s

Fastest: Lodash uniqBy (1.5x faster)

View exact numbers
  • Lodash uniqBy: 1,168,777 ops/sec
  • Set: 772,110 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 uniqBy
    Set

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36 Edg/147.0.0.0
Chrome 147 on Windows
View result in a separate tab
Lodash uniqBy
1.7M/s
Set
1.3M/s
View exact numbers
Test name Executions per second
Lodash uniqBy 1,717,967 Ops/sec
Set 1,323,415 Ops/sec