summaryrefslogtreecommitdiffstats
path: root/net/http/http_version.h
diff options
context:
space:
mode:
authorfqian@google.com <fqian@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-23 15:49:27 +0000
committerfqian@google.com <fqian@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-23 15:49:27 +0000
commit3285544e4190d671613e871ca27341268d0776a5 (patch)
tree7ba6e1c973e331d1ab1f2572bf1379829efb5a9e /net/http/http_version.h
parent205e01d8f232e29dad081ba47508e56f5ecede86 (diff)
downloadchromium_src-3285544e4190d671613e871ca27341268d0776a5.zip
chromium_src-3285544e4190d671613e871ca27341268d0776a5.tar.gz
chromium_src-3285544e4190d671613e871ca27341268d0776a5.tar.bz2
Use static type information from IDL to streamline the wrapping and unwrapping process
between DOM nodes and JS objects. The basic idea is that, IDL files provide static type information. Certain types, such as subtypes of Node, only need 'NODE' has type for wrapping and unwrapping. So, intead of going through a gigatic switch statement, IDL compiler generates fast path for know types, the CL only does it for Node and subtypes. I have seen it improves DOM-peerable example by 5% when running standalone, and 35% when running with whole Dromaeo tests. I missed the another point of this CB. It removed expensive MaybeDOMWrapper checks in production code. It contributes a lot to the overhead. Review URL: http://codereview.chromium.org/3195 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2490 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_version.h')
0 files changed, 0 insertions, 0 deletions