Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36 Edg/107.0.1418.56
Chrome 107
Mac OS X 10.15.7
Desktop
2 months ago
Test name Executions per second
Lodash uniqBy path 2191.1 Ops/sec
Lodash uniqBy function 2117.8 Ops/sec
Map 1181.2 Ops/sec
Set and filter 834.1 Ops/sec
map and filter index 432.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash uniqBy path

  • Lodash uniqBy function

  • Map

  • Set and filter

  • map and filter index