Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36
Chrome 104
Windows
Desktop
2 years ago
Test name Executions per second
matches 20388.9 Ops/sec
closest 19497.7 Ops/sec
classList 23673.5 Ops/sec
matches tagname 24707.6 Ops/sec
tagName 59911.7 Ops/sec
HTML Preparation code:
Tests:
  • matches

  • closest

  • classList

  • matches tagname

  • tagName