Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Firefox/60.0
Firefox 60
Mac OS X 10.13
Desktop
6 years ago
Test name Executions per second
jQuery addClass 733811.1 Ops/sec
Javascript classList.add 1430579.4 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery addClass

  • Javascript classList.add


;