Run details:
Mozilla/5.0 (Windows NT 6.1; rv:105.0) Gecko/20100101 Firefox/105.0
Firefox 105
Windows 7
Desktop
one year ago
Test name Executions per second
jQuery addClass 194844.6 Ops/sec
Javascript classList.add 362318.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery addClass

  • Javascript classList.add