Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:101.0) Gecko/20100101 Firefox/101.0
Firefox 101
Mac OS X 10.15
Desktop
2 years ago
Test name Executions per second
Javascript Set ES6 + Array from 121013.9 Ops/sec
Lodash union 74406.3 Ops/sec
Javascript Set ES6 + spread operators 122874.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Javascript Set ES6 + Array from

  • Lodash union

  • Javascript Set ES6 + spread operators