Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36 EdgA/130.0.0.0
Chrome Mobile 130
Android
Mobile
10 days ago
Test name Executions per second
Lodash uniqBy 1920.5 Ops/sec
new Set() Destructuring 1138.3 Ops/sec
uniq for loop 622.4 Ops/sec
uniq by forEach 396.5 Ops/sec
uniq by filter 217.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash uniqBy

  • new Set() Destructuring

  • uniq for loop

  • uniq by forEach

  • uniq by filter


;