Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 YaBrowser/23.5.0.2282 Yowser/2.5 Safari/537.36
Yandex Browser 23
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
matches 16642.7 Ops/sec
closest 15372.4 Ops/sec
classList 23522.1 Ops/sec
HTML Preparation code:
Tests:
  • matches

  • closest

  • classList