Run details:
Mozilla/5.0 (Android 11; Mobile; rv:103.0) Gecko/103.0 Firefox/103.0
Firefox Mobile 103
Android
Mobile
2 years ago
Test name Executions per second
Vanilla 14715.6 Ops/sec
JQuery 7146.0 Ops/sec
Function 1 14462.5 Ops/sec
Function 2 14225.8 Ops/sec
Function 3 13683.8 Ops/sec
Function 4 13612.7 Ops/sec
HTML Preparation code:
Tests:
  • Vanilla

  • JQuery

  • Function 1

  • Function 2

  • Function 3

  • Function 4