Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:84.0) Gecko/20100101 Firefox/84.0
Firefox 84
Mac OS X 10.16
Desktop
3 years ago
Test name Executions per second
_.union 1835743.2 Ops/sec
Set() 2604973.2 Ops/sec
Set() convert back to array 1178374.0 Ops/sec
Concat & Filter 1984274.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • _.union

  • Set()

  • Set() convert back to array

  • Concat & Filter


;