Run details:
Mozilla/5.0 (Windows NT 10.0; rv:102.0) Gecko/20100101 Firefox/102.0
Firefox 102
Windows
Desktop
2 years ago
Test name Executions per second
Vanilla getById 1905334.9 Ops/sec
Vanilla QuerySelectorAll 282169.5 Ops/sec
cash ById 1188439.2 Ops/sec
umbrella ById 107756.1 Ops/sec
jquery ById 1220322.1 Ops/sec
HTML Preparation code:
Tests:
  • Vanilla getById

  • Vanilla QuerySelectorAll

  • cash ById

  • umbrella ById

  • jquery ById