Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36
Chrome 131
Windows
Desktop
14 days ago
Test name Executions per second
single loop (big N) 322.2 Ops/sec
separate loops (big N) 280.3 Ops/sec
single loop (small N) 345163.3 Ops/sec
separate loops (small N) 260841.3 Ops/sec
Script Preparation code:
Tests:
  • single loop (big N)

  • separate loops (big N)

  • single loop (small N)

  • separate loops (small N)