WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
114931
Remove the memory instrumentation code
https://bugs.webkit.org/show_bug.cgi?id=114931
Summary
Remove the memory instrumentation code
Benjamin Poulain
Reported
2013-04-21 19:54:03 PDT
That huge dead code is useless.
Attachments
Patch
(591.93 KB, patch)
2013-04-21 20:06 PDT
,
Benjamin Poulain
no flags
Details
Formatted Diff
Diff
Patch
(603.82 KB, patch)
2013-04-21 21:07 PDT
,
Benjamin Poulain
no flags
Details
Formatted Diff
Diff
Patch
(604.95 KB, patch)
2013-04-21 21:36 PDT
,
Benjamin Poulain
no flags
Details
Formatted Diff
Diff
Patch
(605.12 KB, patch)
2013-04-21 22:04 PDT
,
Benjamin Poulain
no flags
Details
Formatted Diff
Diff
Patch
(606.45 KB, patch)
2013-04-21 22:21 PDT
,
Benjamin Poulain
no flags
Details
Formatted Diff
Diff
Patch
(606.62 KB, patch)
2013-04-21 22:37 PDT
,
Benjamin Poulain
no flags
Details
Formatted Diff
Diff
Patch
(606.63 KB, patch)
2013-04-21 22:49 PDT
,
Benjamin Poulain
kling
: review+
Details
Formatted Diff
Diff
Show Obsolete
(6)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2013-04-21 19:54:14 PDT
<
rdar://problem/13703130
>
Benjamin Poulain
Comment 2
2013-04-21 20:06:30 PDT
Created
attachment 198983
[details]
Patch
EFL EWS Bot
Comment 3
2013-04-21 20:32:42 PDT
Comment on
attachment 198983
[details]
Patch
Attachment 198983
[details]
did not pass efl-ews (efl): Output:
http://webkit-queues.appspot.com/results/199016
kov's GTK+ EWS bot
Comment 4
2013-04-21 20:55:18 PDT
Comment on
attachment 198983
[details]
Patch
Attachment 198983
[details]
did not pass gtk-ews (gtk): Output:
http://webkit-queues.appspot.com/results/55431
Benjamin Poulain
Comment 5
2013-04-21 21:07:02 PDT
Created
attachment 198985
[details]
Patch
EFL EWS Bot
Comment 6
2013-04-21 21:17:51 PDT
Comment on
attachment 198985
[details]
Patch
Attachment 198985
[details]
did not pass efl-ews (efl): Output:
http://webkit-queues.appspot.com/results/181140
Benjamin Poulain
Comment 7
2013-04-21 21:36:51 PDT
Created
attachment 198986
[details]
Patch
Benjamin Poulain
Comment 8
2013-04-21 22:04:43 PDT
Created
attachment 198987
[details]
Patch
Benjamin Poulain
Comment 9
2013-04-21 22:21:04 PDT
Created
attachment 198989
[details]
Patch
kov's GTK+ EWS bot
Comment 10
2013-04-21 22:31:36 PDT
Comment on
attachment 198989
[details]
Patch
Attachment 198989
[details]
did not pass gtk-ews (gtk): Output:
http://webkit-queues.appspot.com/results/81558
Early Warning System Bot
Comment 11
2013-04-21 22:32:05 PDT
Comment on
attachment 198989
[details]
Patch
Attachment 198989
[details]
did not pass qt-ews (qt): Output:
http://webkit-queues.appspot.com/results/200010
Early Warning System Bot
Comment 12
2013-04-21 22:37:21 PDT
Comment on
attachment 198989
[details]
Patch
Attachment 198989
[details]
did not pass qt-wk2-ews (qt-wk2): Output:
http://webkit-queues.appspot.com/results/80224
Benjamin Poulain
Comment 13
2013-04-21 22:37:59 PDT
Created
attachment 198990
[details]
Patch
Benjamin Poulain
Comment 14
2013-04-21 22:49:46 PDT
Created
attachment 198991
[details]
Patch
Benjamin Poulain
Comment 15
2013-04-21 23:56:00 PDT
Comment on
attachment 198991
[details]
Patch Looks like two sick bots. It builds everywhere else -> moving to review?
Andreas Kling
Comment 16
2013-04-22 03:14:08 PDT
Comment on
attachment 198991
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=198991&action=review
This certainly seems like the right thing to do. r=me.
> Source/WebCore/ChangeLog:15 > + By removing the code, the binary become 1240976 bytes smaller. > + Yep, almost 1 Mb, bringing WebCore to the size it has 5 months ago :)
Holy halloumi, Batman!
Timothy Hatcher
Comment 17
2013-04-22 06:05:11 PDT
(In reply to
comment #16
)
> (From update of
attachment 198991
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=198991&action=review
> > This certainly seems like the right thing to do. r=me. > > > Source/WebCore/ChangeLog:15 > > + By removing the code, the binary become 1240976 bytes smaller. > > + Yep, almost 1 Mb, bringing WebCore to the size it has 5 months ago :) > > Holy halloumi, Batman!
Nice!
Alexey Proskuryakov
Comment 18
2013-04-22 10:58:00 PDT
Comment on
attachment 198991
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=198991&action=review
> Source/WebCore/ChangeLog:24 > + * CMakeLists.txt: > + * GNUmakefile.list.am: > + * Modules/webaudio/AudioContext.cpp: > + * Modules/webaudio/AudioContext.h: > + (AudioContext): > + * Modules/webaudio/AudioNode.cpp: > + * Modules/webaudio/AudioNode.h: > + (AudioNode):
Can you please edit this list to make it shorter/nicer, or even remove it altogether? I can't imagine any use for it in the ChangeLog.
Joseph Pecoraro
Comment 19
2013-04-22 10:58:04 PDT
Comment on
attachment 198991
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=198991&action=review
Nice size saving.
> Source/WebCore/inspector/Inspector.json:79 > "events": [
Unless someone can think of a good reason to leave it in, this should also remove the "addNativeSnapshotChunk" event in the memory domain. The event can no longer be generated by our backend.
Timothy Hatcher
Comment 20
2013-04-22 11:13:57 PDT
There are a handful of protocol events and functions we can remove. I filed that as
bug 114118
.
Benjamin Poulain
Comment 21
2013-04-22 16:00:41 PDT
Committed
r148921
: <
http://trac.webkit.org/changeset/148921
>
Eric Seidel (no email)
Comment 22
2013-04-22 16:43:28 PDT
I'm curious if the size-win you saw was in Debug or Release?
Benjamin Poulain
Comment 23
2013-04-22 17:07:31 PDT
(In reply to
comment #22
)
> I'm curious if the size-win you saw was in Debug or Release?
Release. My laptop is a little slow for debug builds :)
Eric Seidel (no email)
Comment 24
2013-04-22 23:13:56 PDT
I've filed a bug in Chromium about tracking the effect of this on our binary size:
https://code.google.com/p/chromium/issues/detail?id=234422
Interesting that Nico's data showed this as only 300kb for Chroimum. I wonder if we're compiling with some clang/gcc flag which WebKit should consider.
Nico Weber
Comment 25
2013-04-22 23:25:41 PDT
(In reply to
comment #24
)
> I've filed a bug in Chromium about tracking the effect of this on our binary size: >
https://code.google.com/p/chromium/issues/detail?id=234422
> > Interesting that Nico's data showed this as only 300kb for Chroimum. I wonder if we're compiling with some clang/gcc flag which WebKit should consider.
Might just be stripped vs not stripped.
Csaba Osztrogonác
Comment 26
2013-04-23 02:04:51 PDT
(In reply to
comment #21
)
> Committed
r148921
: <
http://trac.webkit.org/changeset/148921
>
FYI: It broke the build on the Apple Windows bots.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug