Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3604.0 Safari/537.36
Chrome 72
Windows
Desktop
5 years ago
Test name Executions per second
vanilla add class 690678.9 Ops/sec
jquery add class 174108.6 Ops/sec
vanilla find element 1643898.4 Ops/sec
jquery find element 293471.8 Ops/sec
HTML Preparation code:
Tests:
  • vanilla add class

  • jquery add class

  • vanilla find element

  • jquery find element


;