Run details:
Mozilla/5.0 (Linux; Android 12; Redmi Note 7 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Mobile Safari/537.36
Chrome Mobile 102
Android
Mobile
2 years ago
Test name Executions per second
matches 6602.0 Ops/sec
closest 5272.8 Ops/sec
classList 9148.8 Ops/sec
HTML Preparation code:
Tests:
  • matches

  • closest

  • classList