Tests:
  • Simple for loop

  • Extended for loop

  • Log based

  • Array approach

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Simple for loop
    Extended for loop
    Log based
    Array approach

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 7 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:50.0) Gecko/20100101 Firefox/50.0
Firefox 50 on Mac OS X 10.12
View result in a separate tab
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


;