Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0
Firefox 89
Ubuntu
Desktop
3 years ago
Test name Executions per second
Map then create Set 1413507.4 Ops/sec
Map then use Lodash uniq 3979639.8 Ops/sec
Use Lodash then map 2545208.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Map then create Set

  • Map then use Lodash uniq

  • Use Lodash then map