Run details:
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0
Firefox 46
Windows 8.1
Other
8 years ago
Test name Executions per second
Javascript for 352.1 Ops/sec
Each 365.3 Ops/sec
Javascript forEach 352.1 Ops/sec
Each + jQuery object creation 356.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Javascript for

  • Each

  • Javascript forEach

  • Each + jQuery object creation