Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
Chrome 59
Mac OS X 10.11.6
Other
7 years ago
Test name Executions per second
for cached length 135.7 Ops/sec
forEach 448.0 Ops/sec
forEach cached function 449.8 Ops/sec
Script Preparation code:
Tests:
  • for cached length

  • forEach

  • forEach cached function


;