Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Chrome 120
Linux
Desktop
9 months ago
Test name Executions per second
jQuery.contains() 804695.4 Ops/sec
Node.contains() 1714661.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery.contains()

  • Node.contains()