Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(494)

Issue 331593006: Decrease the binary size by 50 KB by outlining V8XXX::wrap() (Closed)

Created:
6 years, 6 months ago by haraken
Modified:
6 years, 6 months ago
CC:
blink-reviews, blink-reviews-bindings_chromium.org, arv+blink, abarth-chromium
Visibility:
Public.

Description

Decrease the binary size by 50 KB by outlining V8XXX::wrap() wrap() is called only when we fail to get a wrapper from DOMDataStore. In other words, wrap() is called only when a wrapper is created. This is a slow path, so we don't need to inline the function. This reduces the binary size of Linux Release from 135279744 byte to 135230832 byte (saving 50 KB). Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176098

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+176 lines, -135 lines) Patch
M Source/bindings/templates/interface.h View 1 chunk +0 lines, -9 lines 0 comments Download
M Source/bindings/templates/interface.cpp View 1 chunk +8 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8SVGTestInterface.h View 1 chunk +1 line, -6 lines 0 comments Download
M Source/bindings/tests/results/V8SVGTestInterface.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestException.h View 1 chunk +1 line, -6 lines 0 comments Download
M Source/bindings/tests/results/V8TestException.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterface3.h View 1 chunk +1 line, -6 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterface3.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceCheckSecurity.h View 1 chunk +1 line, -6 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceCheckSecurity.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceConstructor.h View 1 chunk +1 line, -6 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceConstructor.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceConstructor2.h View 1 chunk +1 line, -6 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceConstructor2.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceConstructor3.h View 1 chunk +1 line, -6 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceConstructor3.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceCustomConstructor.h View 1 chunk +1 line, -6 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceCustomConstructor.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceEmpty.h View 1 chunk +1 line, -6 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceEmpty.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceEventConstructor.h View 1 chunk +1 line, -6 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceEventConstructor.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceEventTarget.h View 1 chunk +1 line, -6 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceEventTarget.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceGarbageCollected.h View 1 chunk +1 line, -6 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceGarbageCollected.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceNamedConstructor.h View 1 chunk +1 line, -6 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.h View 1 chunk +1 line, -6 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceNamedConstructor2.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceNode.h View 1 chunk +1 line, -6 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceNode.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceWillBeGarbageCollected.h View 1 chunk +1 line, -6 lines 0 comments Download
M Source/bindings/tests/results/V8TestInterfaceWillBeGarbageCollected.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestNode.h View 1 chunk +1 line, -6 lines 0 comments Download
M Source/bindings/tests/results/V8TestNode.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestObject.h View 1 chunk +1 line, -6 lines 0 comments Download
M Source/bindings/tests/results/V8TestObject.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestSpecialOperations.h View 1 chunk +1 line, -6 lines 0 comments Download
M Source/bindings/tests/results/V8TestSpecialOperations.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestSpecialOperationsNotEnumerable.h View 1 chunk +1 line, -6 lines 0 comments Download
M Source/bindings/tests/results/V8TestSpecialOperationsNotEnumerable.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
M Source/bindings/tests/results/V8TestTypedefs.h View 1 chunk +1 line, -6 lines 0 comments Download
M Source/bindings/tests/results/V8TestTypedefs.cpp View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
haraken
PTAL
6 years, 6 months ago (2014-06-13 06:21:47 UTC) #1
dcarney
lgtm
6 years, 6 months ago (2014-06-13 06:25:24 UTC) #2
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 6 months ago (2014-06-13 06:28:44 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/331593006/1
6 years, 6 months ago (2014-06-13 06:29:18 UTC) #4
Nils Barth (inactive)
This is great size-wise, but what's the performance impact? (I trust your intuition, but want ...
6 years, 6 months ago (2014-06-13 06:36:20 UTC) #5
haraken
On 2014/06/13 06:36:20, Nils Barth wrote: > This is great size-wise, but what's the performance ...
6 years, 6 months ago (2014-06-13 06:44:03 UTC) #6
haraken
The CQ bit was unchecked by haraken@chromium.org
6 years, 6 months ago (2014-06-13 06:44:10 UTC) #7
Nils Barth (inactive)
On 2014/06/13 06:44:03, haraken wrote: > I don't see any regression in Dromaeo/dom-modify, which creates ...
6 years, 6 months ago (2014-06-13 06:53:50 UTC) #8
haraken
On 2014/06/13 06:53:50, Nils Barth wrote: > On 2014/06/13 06:44:03, haraken wrote: > > I ...
6 years, 6 months ago (2014-06-13 06:56:59 UTC) #9
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 6 months ago (2014-06-13 06:57:03 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/331593006/1
6 years, 6 months ago (2014-06-13 06:57:23 UTC) #11
commit-bot: I haz the power
6 years, 6 months ago (2014-06-13 08:40:12 UTC) #12
Message was sent while issue was closed.
Change committed as 176098

Powered by Google App Engine
This is Rietveld 408576698