Using ScriptWrappable for DOMImplementation makes document.implementation about 23% faster.
Created attachment 172439 [details] patch (V8 only at the moment)
Created attachment 172440 [details] PerformanceTest results (first three are without patch; last three are with patch)
Your patch seems sparse. :)
> Your patch seems sparse. :) Do you mean no ChangeLog? I still need to get the JSC side working. :)
It does look a little bit thin. Didn't you have to do anything to the code gen?
(In reply to comment #5) > It does look a little bit thin. Didn't you have to do anything to the code gen? Nope.
Created attachment 172605 [details] JSC PerformanceTest results (first three are without patch; last three are with) In the JSC bindings, this patch is a 69% improvement on Bindings/document-implementation.
Created attachment 172620 [details] Patch
Comment on attachment 172620 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=172620&action=review > PerformanceTests/Bindings/document-implementation.html:7 > + description: "This benchmark repeatedly accesses properties of range.", Please update description.
Created attachment 172622 [details] Patch
(In reply to comment #9) > (From update of attachment 172620 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=172620&action=review > > > PerformanceTests/Bindings/document-implementation.html:7 > > + description: "This benchmark repeatedly accesses properties of range.", > > Please update description. Done.
Comment on attachment 172622 [details] Patch Now the fun patches start. :)
Comment on attachment 172622 [details] Patch Clearing flags on attachment: 172622 Committed r133657: <http://trac.webkit.org/changeset/133657>
All reviewed patches have been landed. Closing bug.