7 ms·
Chrome Binary Size
- thehodge 16y agoThis is a pretty awesome way to visualise filesizes of various things... never seen it before..
- stilist 16y agohttp://grandperspectiv.sourceforge.net/ http://grandperspectiv.sourceforge.net/
- mcantelon 16y ago...And for the Windows community: http://www.sixty-five.cc/sm/ http://www.sixty-five.cc/sm/ Is there a Linux equivalent?
- xutopia 16y agodu -hs /home/* | sort -k 1,1 /edit typo
- _delirium 16y agoHmm, that and the Mac and Windows utilities linked don't seem to be doing what's needed to generate this Chrome view, though. The Chrome binary is a single file on disk, and this treeview is digging into it to figure out which components contribute to the final size of the statically linked binary.
- ChRoss 16y agoI use WinDirStat for Windows http://windirstat.sourceforge.net/ http://windirstat.sourceforge.net/
- sparky 16y agoI use KDirStat http://kdirstat.sourceforge.net/ http://kdirstat.sourceforge.net/
- slug 16y agoSomeone is working on a kde4 port, see comments at http://kde-apps.org/content/show.php/KDirStat?content=10159 http://kde-apps.org/content/show.php/KDirStat?content=10159 Gnome also comes with something similar.
- eklitzke 16y agoIn addition to the standard 'du' command, which you can sort and munge with the standard unix stuff, Gnome has bundled the 'baobab' utility for the last few releases (so if you're on a relatively recent Gnome release, you probably already have it installed). It has an interactive "rings" view and a "treemap" view, which are both pretty nifty.
- decklin 16y agoI've always stuck with du | xdu. Except for the primitive rendering it is rather reminiscent of webtreemap (or vice versa, i guess) -- click to dive down, top to go back up.
- junkbit 16y agoYou can get a pretty interactive treemap of the linux filesytem using http://gdmap.sourceforge.net/ http://gdmap.sourceforge.net/ [screenshot] http://gdmap.sourceforge.net/img/gdmap-preview.png http://gdmap.sourceforge.net/img/gdmap-preview.png You can also see a treemap of the kernel although it is static http://www.cs.umd.edu/hcil/millionvis/Treemap_Visualization_of_the_Linux_Kernel_2_5_33.html http://www.cs.umd.edu/hcil/millionvis/Treemap_Visualization_...
- tonfa 16y agoFor Gnome, it's called baobab (in Applications -> Accessories -> Disk Usage Analyzer).
- ZeroGravitas 16y agoIn Ubuntu the default "Disk Usage Analyser" (the projeect name is "Boabab") in Applications -> Accessories does this. By default it's a ring chart but there's a menu to select treemap instead. The authors seem to believe that treemaps are good for comparing only size, but the ring chart shows hierarchy well too. http://www.marzocca.net/linux/baobab/baobab-ringschart.html http://www.marzocca.net/linux/baobab/baobab-ringschart.html http://www.marzocca.net/linux/baobab/baobab-treemaps.html http://www.marzocca.net/linux/baobab/baobab-treemaps.html
- mcantelon 16y agoIt's very handy: http://en.wikipedia.org/wiki/Treemapping http://en.wikipedia.org/wiki/Treemapping
- acqq 16y agoFor displaying files on the disk it's actually patented. http://www.patentstorm.us/patents/5987469.html http://www.patentstorm.us/patents/5987469.html Estimated Expiration Date: May 13, 2017
- troutwine 16y agoInteresting. My first thought on finishing your post was "How rude; you've tainted us all with the knowledge of a that patent." Evidence of manners in the making I suppose; adaptation of custom in the face of seemingly immovable, shared burdens.
- WalterGR 16y ago"How rude; you've tainted us all with the knowledge of a that patent." What is required to prove willful patent infringement? Is "Defendant's web history shows (s)he accessed a web page on which someone claimed the patent existed" sufficient? EDIT: "Defendant", not "plaintiff".
- acqq 16y agoIn most development scenarios you are actually interested to know which patents can potentially get you sued so please explain how exactly is the awareness of the patent existence of the disadvantage to you.
- duskwuff 16y agoWikipedia (http://en.wikipedia.org/wiki/Patent_infringement_under_United_States_law http://en.wikipedia.org/wiki/Patent_infringement_under_Unite...): > If an infringer is found to have deliberately infringed a patent (i.e. "willful" infringement), then punitive damages can be assessed up to three times the actual damages. Legal fees can also be assessed. If it cannot be proven that an infringer had knowledge of the patent, though, the damages that can be assessed are substantially lower.
- acqq 16y ago
- mrdoob2 16y agoGenerated with this: http://github.com/martine/bloat http://github.com/martine/bloat via http://groups.google.com/a/chromium.org/group/chromium-dev/browse_thread/thread/aaefd56a3adc44c5 http://groups.google.com/a/chromium.org/group/chromium-dev/b...
- avar 16y agoI patched it to support generation on 64 bit systems: http://github.com/martine/bloat/issues#issue/1 http://github.com/martine/bloat/issues#issue/1
- eitally 16y agoSequoiaview and Treesize are two good, free Windows options. Treesize, in particular, has a prettier output and a ton more features. We install it on all our Windows servers because it makes disk cleanups so much easier. Here's the free version: http://www.jam-software.com/treesize_personal/ http://www.jam-software.com/treesize_personal/
- mtigas 16y agoI do have to point out that this visualization represents the binary executable size of Chrome, not the source tree. (According to another comment, it's generated with http://github.com/martine/bloat http://github.com/martine/bloat .) Noticed a lot of folks linking to directory treesize visualizations. This — breaking down a compiled binary to show the size of it’s constituent components — is a ton more interesting to me.
- Lerc 16y ago...and yet it includes header files. curious. Looking at what's there, it looks like it can compile and run C (in nativeclient?).
- caf 16y agoIt's possible to define symbols in header files (for example, inline functions).
- _delirium 16y agoI thought the way the C preprocessor worked, those ended up getting literally copy and pasted into the .c file that #include'd them, and should be indistinguishable from the case where you wrote them directly in the .c file? Or does gcc keep track of where #include'd files came from, and write that info into the binary?
- parbo 16y agoYes, otherwise you'd never find syntax errors in the header files.
- scott_s 16y agoBut that's during the compilation phase - this is the compiled binary. Binaries that are compiled with debugging information turned on will include this information for a similar reason: so that when you're debugging a program, or when it breaks, you can map that to places in your source file.
- deleted 16y ago[deleted]
- scott_s 16y agoThis is an amazing visualization, but I don't like using the term "bloat." What would you take away? Keep in mind that Chrome's architecture is purposefully approaching that of an operating system.
- blasdel 16y agoPlease stop repeating that canard, it got old years ago: http://news.ycombinator.com/item?id=297297 http://news.ycombinator.com/item?id=297297
- argsv 16y agothis is a bit newer http://www.chromium.org/chromium-os http://www.chromium.org/chromium-os
- blasdel 16y agoI'm actually waiting to buy a Netbook until it comes out, in the vain hope that someone will ship a decent ARM-based system using it. But it is just slightly-extended Chrome running directly in X unparented without the standard Gnome Desktop BS on otherwise stock Ubuntu.
- aaronblohowiak 16y agotmux+vim+chrome is all i really need. (and a full posix system down below, of course)
- blasdel 16y agoWhat I want is NaCL implementations of urxvt+SSH and VNC/RDP. I don't need yet another local posix system to maintain, I want remote access to my real server where my main screen session lives, and I want that access to live in a tab.
- 16y ago
- davidst 16y agoImagine a tool that would take the output of a profiler and render an interactive graphic like this for both: (A) data structure sizes and (B) run-time performance. That would be incredibly useful.
- cma 16y agokcachegrind http://www.google.com/images?q=kcachegrind http://www.google.com/images?q=kcachegrind
- davidst 16y agoCool, thanks! Too bad there's not a Windows version, though.
- noibl 16y agoOr is there.. http://sourceforge.net/projects/wincachegrind/ http://sourceforge.net/projects/wincachegrind/
- gjm11 16y agoSeems to be PHP-specific: it processes the output from something called "xdebug 2", which is a PHP extension that dumps detailed information about what your code is doing. Not quite the same target audience as kcachegrind...
- ZeroGravitas 16y agoWhat does Chrome use Speex (a low-bitrate voice codec) for? edit: answering my own question, a speech-to-text in HTML proposal from Google https://docs.google.com/View?id=dcfg79pz_5dhnp23f5 https://docs.google.com/View?id=dcfg79pz_5dhnp23f5 http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2010-May/026338.html http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2010-May... http://www.jeremyselier.com/entry/speech-attribute-demo http://www.jeremyselier.com/entry/speech-attribute-demo
- senko 16y agoChrome also incorporates libjingle, Google's library for ICE-like RTP handling, used in Google Talk / Google Video, which also uses Speex for voice part.