Run details:
Mozilla/5.0 (Windows NT 10.0; rv:91.0) Gecko/20100101 Firefox/91.0
Firefox 91
Windows
Desktop
2 years ago
Test name Executions per second
_.union 2049180.4 Ops/sec
Set() 2900497.0 Ops/sec
Set() convert back to array 1515151.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • _.union

  • Set()

  • Set() convert back to array


;