Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.80 Safari/537.36
Chrome 53
Windows 7
Other
8 years ago
Test name Executions per second
forEach (Native) 4915.8 Ops/sec
for (Native) 5137.3 Ops/sec
each (jQuery) 5080.7 Ops/sec
For of (ES6) 4369.9 Ops/sec
HTML Preparation code:
Tests:
  • forEach (Native)

  • for (Native)

  • each (jQuery)

  • For of (ES6)