Run details:
Mozilla/5.0 (iPad; CPU OS 11_3 like Mac OS X) AppleWebKit/604.1.34 (KHTML, like Gecko) CriOS/67.0.3396.87 Mobile/15E216 Safari/604.1
Chrome Mobile iOS 67
iOS 11.3
Tablet
6 years ago
Test name Executions per second
jQuery addClass 75160.0 Ops/sec
Javascript classList.add 364828.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • jQuery addClass

  • Javascript classList.add