Run details:
Mozilla/5.0 (Linux; Android 10) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36
Chrome Mobile 108
Android
Mobile
one year ago
Test name Executions per second
parentElement 1198223.5 Ops/sec
closest tag 1649420.9 Ops/sec
closest class 1579644.0 Ops/sec
closest tag class 1408034.1 Ops/sec
parentNode 1933571.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • parentElement

  • closest tag

  • closest class

  • closest tag class

  • parentNode