Run details:
Mozilla/5.0 (Linux; Android 11; SM-A035F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Mobile Safari/537.36
Chrome Mobile 104
Android
Mobile
2 years ago
Test name Executions per second
Vanilla 16957.4 Ops/sec
JQuery 6286.7 Ops/sec
Function 1 15621.8 Ops/sec
Function 2 15266.3 Ops/sec
Function 3 11689.9 Ops/sec
Function 4 11381.9 Ops/sec
HTML Preparation code:
Tests:
  • Vanilla

  • JQuery

  • Function 1

  • Function 2

  • Function 3

  • Function 4