by btipling · 14y ago · 0 comments
http://bitovi.com/blog/2012/04/faster-jquery-event-fix.html
There's a JS benchmark.
For styles, there's a demo: http://donejs.com/docs.html#!jQuery.styles
comparing jQuery's height vs one implemented with reading multiple properties. I can get a benchmark for this soon.
As far as animate, that's tricky. There's nothing to measure but framerate I suppose. It does in fact use CSS animations and if you assume they are faster (which what's the point if not) ... then you can assume animate is faster.
Not comprehensive, but it's something.
They also include a link to:
http://jsperf.com/jquery-event-fix
Which lets you benchmark yourself (I'm getting an error in Chrome on OSX).