Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:68.0) Gecko/20100101 Firefox/68.0
Firefox 68
Mac OS X 10.13
Desktop
5 years ago
Test name Executions per second
_.union 2488486.8 Ops/sec
Set() 2216669.2 Ops/sec
Set() convert back to array 1440630.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • _.union

  • Set()

  • Set() convert back to array


;