Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/601.4.4 (KHTML, like Gecko) Version/9.0.3 Safari/601.4.4
Safari 9
Mac OS X 10.11.3
Other
8 years ago
Test name Executions per second
Loop 56233.8 Ops/sec
Loop (extract length) 97674.4 Ops/sec
ForEach 308546.8 Ops/sec
Script Preparation code:
Tests:
  • Loop

  • Loop (extract length)

  • ForEach


;