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

  • getting the html tag with closest