Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0
Firefox 82
Linux
Desktop
4 years ago
Test name Executions per second
Javascript Set ES6 + Array from 95598.2 Ops/sec
Lodash union 59618.8 Ops/sec
Javascript Set ES6 + spread operators 97639.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Javascript Set ES6 + Array from

  • Lodash union

  • Javascript Set ES6 + spread operators