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 15171.1 Ops/sec
JQuery 7410.9 Ops/sec
Function 1 13997.6 Ops/sec
Function 2 14368.7 Ops/sec
Function 3 13680.1 Ops/sec
Function 4 13689.6 Ops/sec
HTML Preparation code:
Tests:
  • Vanilla

  • JQuery

  • Function 1

  • Function 2

  • Function 3

  • Function 4