Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0
Firefox 79
Linux
Desktop
4 years ago
Test name Executions per second
_.union 2566529.2 Ops/sec
Set() 2003019.5 Ops/sec
Set() convert back to array 1300369.9 Ops/sec
Concat & Filter 3053233.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • _.union

  • Set()

  • Set() convert back to array

  • Concat & Filter


;