Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:50.0) Gecko/20100101 Firefox/50.0
Firefox 50
Mac OS X 10.12
Other
7 years ago
Test name Executions per second
Simple for loop 6040.2 Ops/sec
Extended for loop 11658.2 Ops/sec
Log based 127897.6 Ops/sec
Array approach 1041.9 Ops/sec
Tests:
  • Simple for loop

  • Extended for loop

  • Log based

  • Array approach


;