Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36
Chrome 106
Windows
Desktop
2 years ago
Test name Executions per second
JQ 112386.5 Ops/sec
Vanilla 212060.2 Ops/sec
Vanilla No Map 285218.7 Ops/sec
Vanilla getElements 215676.3 Ops/sec
Vanilla getElements No Map 237803.1 Ops/sec
HTML Preparation code:
Tests:
  • JQ

  • Vanilla

  • Vanilla No Map

  • Vanilla getElements

  • Vanilla getElements No Map


;