Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:124.0) Gecko/20100101 Firefox/124.0
Firefox 124
Linux
Desktop
8 months ago
Test name Executions per second
matches 1425.6 Ops/sec
closest 1319.7 Ops/sec
classList 160132.0 Ops/sec
HTML Preparation code:
Tests:
  • matches

  • closest

  • classList