slickspeed
SlickSpeed is a CSS selector test suite provided by the MooTools folk.
This tool comes at the same time as they release CSS3 support in Mootools, and it compares Prototype, jQuery, MooTools, Ext, and CSS Query.
で、http://mootools.net/slickspeed/ を試してみました。以下はfinal timeの比較
browser | prototype 1.5.1 | jQuery 1.1.2dev | MooTools 1.2dev | ext 1.1b1 | cssQuery 2.02 | dojo query | |
---|---|---|---|---|---|---|---|
Firefox 2.0.0.4 | 152 | 3909 | 144 | 775 | 4633 | 336 | |
IE 7.0.5730.11 | 1045 | 1781 | 803 | 496 | 4268 | 478 | |
Opera 9.2.1 | 64 | 1188 | 68 | 124 | 950 | 60 |
背景色がベージュになっているdifferent returned elementsに着目するとFirefoxが10項目なのに対して、IEが14項目。Firefoxではprototype.jsは唯一エラーなしで1番速いけど、IEでは2つエラーで3番目。IEではどのライブラリもエラーが出ているので、比較として微妙かも。