Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0
Firefox 132
Ubuntu
Desktop
18 days ago
Test name Executions per second
Lodash uniqBy 4956.0 Ops/sec
new Set() Destructuring 3108.3 Ops/sec
uniq for loop 10223.5 Ops/sec
uniq by forEach 218.1 Ops/sec
uniq by filter 119.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash uniqBy

  • new Set() Destructuring

  • uniq for loop

  • uniq by forEach

  • uniq by filter