Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:131.0) Gecko/20100101 Firefox/131.0
Firefox 131
Ubuntu
Desktop
2 months ago
Test name Executions per second
Lodash uniqBy 3911.4 Ops/sec
new Set() Destructuring 2708.2 Ops/sec
uniq for loop 10432.5 Ops/sec
uniq by forEach 185.3 Ops/sec
uniq by filter 98.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash uniqBy

  • new Set() Destructuring

  • uniq for loop

  • uniq by forEach

  • uniq by filter