WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 85537
Histogram total allocated bytes in the arena in addition to the render tree size
https://bugs.webkit.org/show_bug.cgi?id=85537
Summary
Histogram total allocated bytes in the arena in addition to the render tree size
Ojan Vafai
Reported
2012-05-03 13:06:26 PDT
Histogram total allocated bytes in the arena in addition to the render tree size
Attachments
Patch
(8.68 KB, patch)
2012-05-03 13:10 PDT
,
Ojan Vafai
no flags
Details
Formatted Diff
Diff
Patch
(8.86 KB, patch)
2012-05-03 15:22 PDT
,
Ojan Vafai
no flags
Details
Formatted Diff
Diff
Patch
(8.82 KB, patch)
2012-05-03 16:08 PDT
,
Ojan Vafai
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Ojan Vafai
Comment 1
2012-05-03 13:10:04 PDT
Created
attachment 140078
[details]
Patch
Ojan Vafai
Comment 2
2012-05-03 13:12:25 PDT
I'm a bit torn on making the bytesAllocated an out-param instead of just adding a new method to Page. It avoids some code duplication. In theory it's also faster because we only walk the frame-tree once, but I doubt that matters in practice. Happy to change it if you think a separate method would be cleaner.
Eric Seidel (no email)
Comment 3
2012-05-03 13:19:53 PDT
Comment on
attachment 140078
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=140078&action=review
> Source/WebCore/page/Page.h:121 > - size_t renderTreeSize() const; > + size_t renderTreeSize(size_t& totalRenderArenaAllocatedBytes) const;
You could alternatively return a simple struct?
Ojan Vafai
Comment 4
2012-05-03 13:23:00 PDT
(In reply to
comment #3
)
> (From update of
attachment 140078
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=140078&action=review
> > > Source/WebCore/page/Page.h:121 > > - size_t renderTreeSize() const; > > + size_t renderTreeSize(size_t& totalRenderArenaAllocatedBytes) const; > > You could alternatively return a simple struct?
That's probably cleaner. Will fix.
Build Bot
Comment 5
2012-05-03 13:42:22 PDT
Comment on
attachment 140078
[details]
Patch
Attachment 140078
[details]
did not pass mac-ews (mac): Output:
http://queues.webkit.org/results/12611316
Ojan Vafai
Comment 6
2012-05-03 15:22:18 PDT
Created
attachment 140109
[details]
Patch
Build Bot
Comment 7
2012-05-03 15:47:36 PDT
Comment on
attachment 140109
[details]
Patch
Attachment 140109
[details]
did not pass mac-ews (mac): Output:
http://queues.webkit.org/results/12620250
Build Bot
Comment 8
2012-05-03 15:50:27 PDT
Comment on
attachment 140109
[details]
Patch
Attachment 140109
[details]
did not pass win-ews (win): Output:
http://queues.webkit.org/results/12612399
Early Warning System Bot
Comment 9
2012-05-03 16:03:18 PDT
Comment on
attachment 140109
[details]
Patch
Attachment 140109
[details]
did not pass qt-wk2-ews (qt): Output:
http://queues.webkit.org/results/12514238
Ojan Vafai
Comment 10
2012-05-03 16:08:20 PDT
Created
attachment 140118
[details]
Patch
Ojan Vafai
Comment 11
2012-05-03 16:41:56 PDT
OK. All the bots are happily compiling now. Eric, squeak!
Eric Seidel (no email)
Comment 12
2012-05-03 17:10:01 PDT
Comment on
attachment 140118
[details]
Patch Works for me.
WebKit Review Bot
Comment 13
2012-05-03 18:34:58 PDT
Comment on
attachment 140118
[details]
Patch Clearing flags on attachment: 140118 Committed
r116058
: <
http://trac.webkit.org/changeset/116058
>
WebKit Review Bot
Comment 14
2012-05-03 18:35:04 PDT
All reviewed patches have been landed. Closing bug.
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