Run details:
Mozilla/5.0 (Linux; Android 12; SM-G998W) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.58 Mobile Safari/537.36
Chrome Mobile 99
Android
Mobile
2 years ago
Test name Executions per second
jQuery attr 1257686.4 Ops/sec
setAttribute 1756471.5 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery attr

  • setAttribute