4 ms·
I would like to see some data on how much faster. Maybe make some demos that run in a frame where jQuery is compared to this library. It's a tall claim to say t
by btipling 14y ago
I would like to see some data on how much faster. Maybe make some demos that run in a frame where jQuery is compared to this library. It's a tall claim to say this is faster and needs credible verification.
- jontas 14y agoSome data here: http://jquerypp.com/#fastfix http://jquerypp.com/#fastfix Not comprehensive, but it's something. They also include a link to: http://jsperf.com/jquery-event-fix http://jsperf.com/jquery-event-fix Which lets you benchmark yourself (I'm getting an error in Chrome on OSX).
- justinbmeyer 14y agoYeah, that article was on our initial work. I'll fix the benchmark soon.
- justinbmeyer 14y agoFor fast fix: http://bitovi.com/blog/2012/04/faster-jquery-event-fix.html 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 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.