Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36
Chrome 96
Windows
Desktop
3 years ago
Test name Executions per second
Vanilla JS ID test 1387661.1 Ops/sec
Vanilla JS Class test 1386326.6 Ops/sec
jQuery ID Test 668463.6 Ops/sec
jQuery Class Test 427697.1 Ops/sec
HTML Preparation code:
Tests:
  • Vanilla JS ID test

  • Vanilla JS Class test

  • jQuery ID Test

  • jQuery Class Test