Binary size visualizer for Windows

54 views
Skip to first unread message

Rong Jie

unread,
Mar 27, 2017, 6:17:49 AM3/27/17
to Chromium-dev, v8-...@googlegroups.com
Hi everyone!

http://crbug.com/v8/5948 is investigating on trimming V8 binary size, but it looks like the data was based on Linux or Mac.

I want to investigate V8 binary size on Windows visually, but from http://crbug.com/v8/5948#c22 the instructions are restricted to Chromium developers only. Asking help on Twitter or Stackoverflow yield no result. In the end, I created my own.

It is inspired by https://github.com/evmar/bloat. Given that it was created by a (former?) Chromium developer and just how similar the style is to the image in the bug linked above, I suspect the @chromium.org only instructions uses exactly this.

If you are interested to see my work, here it is! https://github.com/rongjiecomputer/bloat-win . Hope this helps other external Chromium contributors.

- Rong Jie

Primiano Tucci

unread,
Mar 27, 2017, 8:41:46 AM3/27/17
to looro...@gmail.com, Chromium-dev, bruce...@chromium.org, jkum...@chromium.org, v8-...@googlegroups.com
IIRC +Bruce Dawson put together some doc in https://www.chromium.org/developers/windows-binary-sizes which links to various tools .

Also, +Jakob Kummerow, I guess there is no specific reason why that doc is restricted to chromium.org ? If that's the case maybe you can make publicly readable and add comment ACLs to a...@chromium.org to avoid comment trolls

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/e3dbeb3f-ca57-4284-b7e3-d3908f7a318b%40chromium.org.

Jakob Kummerow

unread,
Mar 27, 2017, 8:52:00 AM3/27/17
to Primiano Tucci, looro...@gmail.com, Chromium-dev, bruce...@chromium.org, v8-...@googlegroups.com
On Mon, Mar 27, 2017 at 2:40 PM, Primiano Tucci <prim...@chromium.org> wrote:
Also, +Jakob Kummerow, I guess there is no specific reason why that doc is restricted to chromium.org ? If that's the case maybe you can make publicly readable and add comment ACLs to a...@chromium.org to avoid comment trolls

Done. There's also no magic in there, it's mostly just https://chromium.googlesource.com/chromium/src/+/master/tools/binary_size/README.md adapted for standalone V8 builds.

Bruce Dawson

unread,
Mar 27, 2017, 3:45:27 PM3/27/17
to Jakob Kummerow, Primiano Tucci, looro...@gmail.com, Chromium-dev, v8-...@googlegroups.com
I like the visualization of the symbol sort data - cool. I added a link to the bloat-win page from the windows-binary-sizes documentation.

Rong Jie

unread,
Mar 27, 2017, 8:15:34 PM3/27/17
to Chromium-dev, jkum...@chromium.org, prim...@chromium.org, looro...@gmail.com, v8-...@googlegroups.com
On Tuesday, March 28, 2017 at 3:45:27 AM UTC+8, Bruce Dawson wrote:
I like the visualization of the symbol sort data - cool. I added a link to the bloat-win page from the windows-binary-sizes documentation.

Thank you! 

On Mon, Mar 27, 2017 at 2:40 PM, Primiano Tucci <prim...@chromium.org> wrote:
IIRC +Bruce Dawson put together some doc in https://www.chromium.org/developers/windows-binary-sizes which links to various tools .

That is exactly where I learnt about SymbolSort!


On Mon, Mar 27, 2017 at 5:50 AM, Jakob Kummerow <jkum...@chromium.org> wrote:
Done. There's also no magic in there, it's mostly just https://chromium.googlesource.com/chromium/src/+/master/tools/binary_size/README.md adapted for standalone V8 builds.

Thanks for making it public! tools/binary_size is a lot more powerful than mine. I will try to see if I can extract data from SymbolSort and make it compatible with tools/binary_size if possible.

Andrew Grieve

unread,
Mar 27, 2017, 10:11:42 PM3/27/17
to looro...@gmail.com, Chromium-dev, jkum...@chromium.org, Primiano Tucci, v8-...@googlegroups.com
Heads up that I've been working on //tools/binary_size over the past few weeks, and just landed a big change to it today. The roadmap is right there in the linked readme, but just wanted to provide extra encouragement that now is a great time to integrate with it, as I'll soon be pushing it for broader adoption.

 

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
Reply all
Reply to author
Forward
0 new messages