HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash uniqBy

  • new Set() Destructuring

  • uniq for loop

  • uniq by forEach

  • uniq by filter

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Lodash uniqBy
    new Set() Destructuring
    uniq for loop
    uniq by forEach
    uniq by filter

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 days ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.2 Safari/605.1.15
Safari 18 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
Lodash uniqBy 7751.4 Ops/sec
new Set() Destructuring 7328.7 Ops/sec
uniq for loop 29507.6 Ops/sec
uniq by forEach 522.7 Ops/sec
uniq by filter 284.2 Ops/sec