Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36
Chrome 53
Windows 7
Other
7 years ago
Test name Executions per second
for 45688.4 Ops/sec
reverse while 45843.6 Ops/sec
caching while 31555.2 Ops/sec
Script Preparation code:
Tests:
  • for

  • reverse while

  • caching while