Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0
Firefox 94
Ubuntu
Desktop
3 years ago
Test name Executions per second
getting the html tag with querySelector 2532881.2 Ops/sec
getting the html tag with closest 4014845.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • getting the html tag with querySelector

  • getting the html tag with closest