Test case name | Result |
---|---|
jQuery addClass | |
Dom7 each | |
jQuery each | |
Dom7 set attr | |
jQuery set attr | |
Dom7 css | |
jQuery css | |
Dom7 removeAttr | |
jQuery removeAttr | |
Dom7 set attr (Object) | |
jQuery set attr (Object) | |
Dom7 toggleClass | |
jQuery toggleClass | |
Dom7 removeClass | |
jQuery removeClass | |
Dom7 addClass | |
jQuery css (Object) | |
Dom7 css (Object) |
Test name | Executions per second |
---|---|
jQuery addClass | 2723.3 Ops/sec |
Dom7 addClass | 3652.9 Ops/sec |
jQuery removeClass | 3613.7 Ops/sec |
Dom7 removeClass | 4348.9 Ops/sec |
jQuery toggleClass | 847.7 Ops/sec |
Dom7 toggleClass | 2918.5 Ops/sec |
jQuery set attr (Object) | 2567.3 Ops/sec |
Dom7 set attr (Object) | 2799.2 Ops/sec |
jQuery removeAttr | 2182.8 Ops/sec |
Dom7 removeAttr | 8725.1 Ops/sec |
jQuery css | 3426.2 Ops/sec |
Dom7 css | 4347.8 Ops/sec |
jQuery set attr | 5096.6 Ops/sec |
Dom7 set attr | 5374.0 Ops/sec |
jQuery each | 441.7 Ops/sec |
Dom7 each | 442.0 Ops/sec |
jQuery css (Object) | 520.1 Ops/sec |
Dom7 css (Object) | 1212.0 Ops/sec |