Now that I am not away from keyboard I can elaborate

I'm talking about a fat distribution :) ex a strawberryperl , stock distribution is only 108.3 MB tarball, 335mb(357mb on disk), only ~130mb of which is perl , 100mb is perl modules (core plus 472), and 221MB for mingw/libs...

So that is 100mb module to 221mb dependencies, or 1:2

Or 108.3 MB compressed to / 335 uncompressed, or 1:3

If a dummy generates both html and manpages (  perl -V:"install.*" ) then the size almost doubles :)(its all wasted MB for me, )

A mingw/msys dev environment might be another 389MB

compared to 1-2-3GB for minicpan size (it grows), and when a regular user installs bunches and bunches of module on top, short of installing all of minicpan (1-2-3GB), its only about 500MB

A snapshot i took a few years ago listed 7789 packages , which translated to 1039 distributions , or 124MB worth of cpan distribution tarballs (including dual lived),

It installs to 508MB. 110Mb vendor, 30.7MB lib, 367MB site

So installed size might be 3x or 4x bigger than the size of the tarball but actual average might actually be 2x to 3x actualllyyyyyy

A smaller example , worst case of balooning of sorts

442kb for XML-LibXML-2.0014.tar.gz uncompressed size 1.90MB size uncompressed size on disk 2.42MB after building/make dance its 3.52 MB (3,693,052 bytes) / 4.16 MB (4,370,432 bytes) after installation its 663 KB / 760KB plus 25MB in prerequisites ( libxml2mingw ) 560kb includes 8.09MB dll/exe (the minimal true prerequisite) 8.14MB libs (.a) 7.51MB share (docs...)

So 442kb tarball / expands to 1.90MB size / builds to 3.52 MB / installs to 663 KB

So 442kb tarball / expands to 1.90MB size / builds to 3.52 MB / installs to 8.09MB+ 663 KB

So 442kb tarball / installs to 8.09MB+ 663 KB

So 442KB/9MB or 1:20 balooning ratio

Or worse yet 25MB/760KB = 32.89

So 3x/4x average, 20x or worst case without pod generated manpages+html, or maybe 33x worst case


In reply to Re^3: module installation size ( 5x tarball? up to 33x tarball?) by Anonymous Monk
in thread module installation size by morgon

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.