Run details:
Mozilla/5.0 (Linux armv7l) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.71 Safari/537.36 OPR/33.0.1990.0 OMI/4.6.3.22.release
Opera 33
Linux
Other
8 years ago
Test name Executions per second
Loop 2464.0 Ops/sec
Loop (extract length) 153723.5 Ops/sec
ForEach 3097.0 Ops/sec
Script Preparation code:
Tests:
  • Loop

  • Loop (extract length)

  • ForEach