该测试使用 SlickSpeed 框架。
attr | MooTools 1.3.1 | JQuery 1.5.1 |
---|---|---|
setStyle/css | ||
setStyles/cssMulti | ||
setProperty/attr | ||
setProperties/attrMulti | ||
addClass | ||
addClassMulti | ||
hasClass | ||
removeClass | ||
removeClassMulti | ||
final time (less is better) | 0 | 0 |
the faster | the slower | exception thrown or zero elements found | different returned elements |
---|---|---|---|