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
11 days ago
Test name Executions per second
single loop (big N) 361.2 Ops/sec
separate loops (big N) 287.1 Ops/sec
single loop (small N) 352011.4 Ops/sec
separate loops (small N) 257848.0 Ops/sec
Script Preparation code:
Tests:
  • single loop (big N)

  • separate loops (big N)

  • single loop (small N)

  • separate loops (small N)