Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0
Firefox 107
Windows
Desktop
one year ago
Test name Executions per second
vanilla add class 1559838.9 Ops/sec
jquery add class 514611.4 Ops/sec
vanilla find element 3463537.0 Ops/sec
jquery find element 1094681.9 Ops/sec
HTML Preparation code:
Tests:
  • vanilla add class

  • jquery add class

  • vanilla find element

  • jquery find element


;