Klaus, >I have the feeling that the whole speed discussion is somewhat >theoretical, isn't it? I guess in a real life app, e.g. with some normal >selections, you will hardly notice any difference between jQuery, >Prototype, DOMQuery and others. > >Am I wrong?
I think generally you're correct. Loop testing is rarely a good indicator of real world performance. However, if you're using jQuery to select elements in looping operation over a lot of iterations, then the performance impact would be noticeable. While it's not very common that you would need to do that, there are times when it will crop up. The biggest issue might be on older, slower PCs. That might be the spot where performance optimizations might help the best. -Dan