Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Mobile Safari/537.36
Chrome Mobile 126
Android
Mobile
4 months ago
Test name Executions per second
Immutable.Set union 6484.8 Ops/sec
Convert JS Set to array, construct new Set 11252.3 Ops/sec
Array.from, construct new Set 11471.5 Ops/sec
HTML Preparation code:
Tests:
  • Immutable.Set union

  • Convert JS Set to array, construct new Set

  • Array.from, construct new Set