Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:132.0) Gecko/20100101 Firefox/132.0
Firefox 132
Ubuntu
Desktop
26 days ago
Test name Executions per second
Vanilla getById 7467435.5 Ops/sec
Vanilla QuerySelectorAll 1601557.9 Ops/sec
cash ById 8333200.0 Ops/sec
umbrella ById 667227.9 Ops/sec
jquery ById 8146709.0 Ops/sec
HTML Preparation code:
Tests:
  • Vanilla getById

  • Vanilla QuerySelectorAll

  • cash ById

  • umbrella ById

  • jquery ById