Based on the observation described in this ChangeLog (http://trac.webkit.org/changeset/121439), the performance of Element::getAttributeNode() can be optimized by replacing String with AtomicString.
Created attachment 150147 [details] Performance test
Created attachment 150148 [details] Patch
Comment on attachment 150148 [details] Patch Based on further discussion in #webkit, my current understanding is that ap is ok with these patches. I'm going to r+ them, but please give ap a chance to respond before landing.
Comment on attachment 150148 [details] Patch This is faster in some cases. But a case Iād expect this makes slower is when the passed-in attribute name is uppercase. This adds a lookup in the atomic string table of the not-yet-lowercased string.
Comment on attachment 150148 [details] Patch Looks like no strong objection, let me commit it.
Comment on attachment 150148 [details] Patch Clearing flags on attachment: 150148 Committed r124972: <http://trac.webkit.org/changeset/124972>
All reviewed patches have been landed. Closing bug.