The_Decryptor Veteran Posted December 22, 2007 Veteran Share Posted December 22, 2007 The WebKit guys have added a native implementation of the getElementsByClassName (In the HTML5 spec and it's very useful, Firefox and Opera support it as well), and using their small benchmark and another benchmark it shows the speed of their implementation is amazing. Every time I've run the tests, the copy of WebKit on my mac completes the benchmark in around half the time it takes Firefox 3 on my PC to complete it, and my Mac (1.25Ghz G4) is much slower than my PC (1.8Ghz C2D), Firefox on my Mac takes twice the time than Firefox on my PC. Calls like this are quite useful for developers (and there are XPath and pure JS implementations for browsers without support), and the speed of the call will help on slow systems. http://webkit.org/blog/153/webkit-gets-nat...ntsbyclassname/ Link to comment Share on other sites More sharing options...
Recommended Posts