Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.102 Safari/537.36
Chrome 104
Linux
Desktop
2 years ago
Test name Executions per second
Only ID 1404684.4 Ops/sec
HTML + Body + ID 76957.0 Ops/sec
Full path 98312.7 Ops/sec
Body + ID 75183.1 Ops/sec
Full path only elements 58738.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Only ID

  • HTML + Body + ID

  • Full path

  • Body + ID

  • Full path only elements


;