Test name | Executions per second |
---|---|
classList.add/classList.remove | 230932.1 Ops/sec |
function addClass/function removeClass | 106210.1 Ops/sec |
function addClass/function removeClass S | 22462.7 Ops/sec |
function addClass/function removeClass S N | 29434.9 Ops/sec |
jQuery | 47930.3 Ops/sec |