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 Edg/106.0.1370.42
Chrome 106
Windows
Desktop
2 years ago
Test name Executions per second
JQuery DOM traversal - fully segmented 48671.1 Ops/sec
JQuery DOM traversal - partially segmented 1 62701.2 Ops/sec
JQuery DOM traversal - partially segmented 2 70213.0 Ops/sec
JQuery CSS selectors - descendants 125860.2 Ops/sec
JQuery CSS selectors - partially absolute 138662.5 Ops/sec
JQuery CSS selectors - absolute 117411.6 Ops/sec
HTML Preparation code:
Tests:
  • JQuery DOM traversal - fully segmented

  • JQuery DOM traversal - partially segmented 1

  • JQuery DOM traversal - partially segmented 2

  • JQuery CSS selectors - descendants

  • JQuery CSS selectors - partially absolute

  • JQuery CSS selectors - absolute