Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36 Edg/144.0.0.0
Chrome 144
Mac OS X 10.15.7
Desktop
3 months ago
Test name Executions per second
Chained Native `contains` 6882659.0 Ops/sec
Custom .classCheck() 6516033.5 Ops/sec
Native .matches() 8243504.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Chained Native `contains`

  • Custom .classCheck()

  • Native .matches()