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

  • Set()

  • Set() convert back to array

  • Concat & Filter


;