Run details:
Mozilla/5.0 (Linux; Android 12; SM-G975F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Mobile Safari/537.36
Chrome Mobile 103
Android
Mobile
2 years ago
Test name Executions per second
Javascript Set ES6 + Array from 117978.7 Ops/sec
Lodash union 86518.4 Ops/sec
Javascript Set ES6 + spread operators 120762.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Javascript Set ES6 + Array from

  • Lodash union

  • Javascript Set ES6 + spread operators