mootools JavaScript framework benchmark

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by anisotropic on June 14, 2007 at 7:14pm

Ran across this 'speedtest' page today, it has interesting results especially cross-browser:

http://mootools.net/slickspeed/

If you run it on FF ( at least on my iMac and a nearby Vista machine ) moo and prototype are much faster, but extjs wins hands down on Safari ( OS X ) and IE7 on Vista. jQuery is middling IMHO the benefits in developer satisfaction are worth the speed cost vs prototype.

Discuss.

Categories: , ,

Comments

Surprising

Posted by davidtrainer on June 14, 2007 at 10:44pm

I was surprised how many times they returned different result sets.

newbie thoughts

Posted by rbeton on June 16, 2007 at 12:36am

I have only tried jquery and my experience wasn't brilliant - it didn't work correctly in XHTML+SVG mixed namespace pages. I also came across mootools whilst evaluating MODx for a specific project.

Both jquery and mootools offer loads of eye candy. I think on the basis of only a cursory walk through that I prefer the mootools API over jquery.

My 2p
Rick

jquery ? eye candy ? where ?

Posted by yched on June 16, 2007 at 12:57am

jquery ? eye candy ? where ?

heh: .hide() | .show() == eye candy?

Posted by anisotropic on June 16, 2007 at 4:57pm

I don't really see jQuery as being eye candy heavy compared to moo or something like Yahoo. The lesson I took away from this especially when doing the cross-browser comparison is that not all JS frameworks work the same way on all browsers. I almost see this page as the start of some sort of compliance test framework that each library can use to validate not only their speed but their functionality on different browsers. example: extjs seems to have some very fast performance on some test, but they completely fail others. It seems to me like moo/prototype is optimized for Firefox?

@rbeton: do you have a simple example of where jQuery failed in a mixed namespace page? I've used it for simple things in mixed XUL/HTML pages, but I can imagine your case being something Ressig never considered a common use case.

As well, I've heard that the JS implementation in FF 3 is going to change over to Adobe's recently contributed JS vm, which may change things for JS libraries.

interesting

Posted by mfer on June 19, 2007 at 12:52pm

I was really surprised to see the difference in results for prototype between IE and Firefox. I'm not talking about the speed of the queries but what the queries actually found.

Update, jQuery 1.2 has been released

Posted by anisotropic on July 2, 2007 at 5:27pm

There seem to be some great improvements, according to the same 'slickspeed' benchmark:

http://dev.jquery.com/~john/slick/

Javascript

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /