Run details:
Mozilla/5.0 (Linux; Android 13) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Mobile Safari/537.36
Chrome Mobile 113
Android
Mobile
one year ago
Test name Executions per second
while loop + tagName check 201.5 Ops/sec
while loop + instanceof check 68.6 Ops/sec
while loop + consturctor check 86.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • while loop + tagName check

  • while loop + instanceof check

  • while loop + consturctor check