Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:103.0) Gecko/20100101 Firefox/103.0
Firefox 103
Windows
Desktop
2 years ago
Test name Executions per second
Vanilla 85957.5 Ops/sec
JQuery 42305.3 Ops/sec
Function 1 82717.3 Ops/sec
Function 2 79345.5 Ops/sec
Function 3 72902.9 Ops/sec
Function 4 73454.6 Ops/sec
HTML Preparation code:
Tests:
  • Vanilla

  • JQuery

  • Function 1

  • Function 2

  • Function 3

  • Function 4