Run details:
Mozilla/5.0 (Linux; Android 12; SM-G991B Build/SP1A.210812.016; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/105.0.5195.136 Mobile Safari/537.36 [FB_IAB/Orca-Android;FBAV/380.1.0.17.108;]
Chrome Mobile 105
Android
Mobile
2 years ago
Test name Executions per second
forEach Test 2558798.2 Ops/sec
usingSet Test 909406.4 Ops/sec
For each 2 test 2476247.5 Ops/sec
Script Preparation code:
Tests:
  • forEach Test

  • usingSet Test

  • For each 2 test