Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0
Firefox 123
Ubuntu
Desktop
9 months ago
Test name Executions per second
JQuery DOM traversal - fully segmented 315789.4 Ops/sec
JQuery DOM traversal - partially segmented 1 362561.0 Ops/sec
JQuery DOM traversal - partially segmented 2 253834.5 Ops/sec
JQuery CSS selectors - descendants 418667.5 Ops/sec
JQuery CSS selectors - partially absolute 426471.6 Ops/sec
JQuery CSS selectors - absolute 431730.3 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