Run details:
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0
Firefox 49
Windows 8.1
Other
8 years ago
Test name Executions per second
Loop based on array.length 113210.9 Ops/sec
Loop based on variable 155724.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Loop based on array.length

  • Loop based on variable