Test case name | Result |
---|---|
Dex ::: addClass() | |
jQuery ::: addClass() | |
Dex ::: removeClass() | |
jQuery ::: removeClass() | |
Dex ::: toggleClass() | |
jQuery ::: toggleClass() | |
Dex ::: replaceClass() | |
jQuery ::: replace class equivalent | |
Dex ::: hasClass() | |
jQuery ::: hasClass() |
Test name | Executions per second |
---|---|
Dex ::: addClass() | 71075.3 Ops/sec |
jQuery ::: addClass() | 47934.9 Ops/sec |
Dex ::: removeClass() | 73879.7 Ops/sec |
jQuery ::: removeClass() | 50378.2 Ops/sec |
Dex ::: toggleClass() | 55735.7 Ops/sec |
jQuery ::: toggleClass() | 12949.2 Ops/sec |
Dex ::: replaceClass() | 193421.9 Ops/sec |
jQuery ::: replace class equivalent | 27351.8 Ops/sec |
Dex ::: hasClass() | 2399868.0 Ops/sec |
jQuery ::: hasClass() | 263288.0 Ops/sec |