Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/69.0.3497.81 Chrome/69.0.3497.81 Safari/537.36
Chromium 69
Ubuntu
Desktop
6 years ago
Test name Executions per second
for 43817.8 Ops/sec
foreach 2442198.0 Ops/sec
some 2502363.2 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some


;