Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Firefox/78.0
Firefox 78
Mac OS X 10.14
Desktop
3 years ago
Test name Executions per second
_.union 2667889.5 Ops/sec
Set() 2372090.0 Ops/sec
Set() convert back to array 1515223.6 Ops/sec
Concat & Filter 3525485.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • _.union

  • Set()

  • Set() convert back to array

  • Concat & Filter


;