Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36
Chrome 75
Windows 7
Desktop
5 years ago
Test name Executions per second
lodash union 1645600.6 Ops/sec
object.assign 331705.9 Ops/sec
lodash uniq spread 2925478.8 Ops/sec
HTML Preparation code:
Tests:
  • lodash union

  • object.assign

  • lodash uniq spread