Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0
Firefox 79
Ubuntu
Desktop
4 years ago
Test name Executions per second
Javascript Set ES6 + Array from (1) 98796.2 Ops/sec
Lodash union 61215.9 Ops/sec
Javascript Set ES6 + spread operators 94034.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Javascript Set ES6 + Array from

  • Lodash union

  • Javascript Set ES6 + spread operators