Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 LikeWise/97.6.2725.26
Chrome 113
Windows
Desktop
one year ago
Test name Executions per second
matches 10049.1 Ops/sec
closest 9142.4 Ops/sec
classList 11122.9 Ops/sec
HTML Preparation code:
Tests:
  • matches

  • closest

  • classList