Binary bloat in 7.10

Jeremy voldermort at hotmail.com
Wed Apr 1 13:40:16 UTC 2015


Roman Cheplyaka-2 wrote
> I'm not denying (or confirming) your claim, but it would look more
> legitimate if you compared the same version of Cabal compiled with
> different versions of GHC.
> 
> At least some of this bloat could be because Cabal simply gained more
> code.

I was going to prove you wrong by identifying packages which have barely
changed for 7.10 ... and found that those packages were a similar size to
their 7.8 versions.

However, the size increase in other packages is huge, and "simply gained
more code" doesn't seem like an adequate explanation, with some package more
than doubling.

Here are the full results:

7.8:

34M     Cabal-1.18.1.5
3.8M    array-0.5.0.0
50M     base-4.7.0.2
52M     bin
368K    bin-package-db-0.0.0.0
2.7M    binary-0.7.1.0
5.4M    bytestring-0.10.4.0
9.4M    containers-0.5.5.1
196K    deepseq-1.3.0.2
608K    directory-1.2.1.0
740K    filepath-1.3.0.2
105M    ghc-7.8.4
2.7M    ghc-prim-0.3.1.0
8.7M    haskeline-0.7.1.2
3.4M    hoopl-3.10.0.1
1020K   hpc-0.6.0.1
556K    integer-gmp-0.5.1.0
680K    pretty-1.1.1.1
684K    process-1.2.0.0
1.6M    rts-1.0
13M     template-haskell-2.9.0.0
1.4M    terminfo-0.4.0.0
6.1M    time-1.4.2
4.4M    transformers-0.3.0.0
5.2M    unix-2.7.0.1

7.10:

83M     Cabal_HWT8QvVfJLn2ubvobpycJY
3.7M    array_FaHmcBFfuRM8kmZLEY8D5S
52M     base_I5BErHzyOm07EBNpKBEeUv
56M     bin
2.9M    binar_EKE3c9Lmxb3DQpU0fPtru6
832K    binpa_JNoexmBMuO8C771QaIy3YN
5.7M    bytes_6vj5EoliHgNHISHCVCb069
11M     conta_47ajk3tbda43DFWyeF3oHQ
432K    deeps_FpR4obOZALU1lutWnrBldi
912K    direc_3TcTyYedch32o1zTH2MR00
796K    filep_5HhyRonfEZoDO205Wm9E4h
113M    ghc_EMlWrQ42XY0BNVbSrKixqY
2.9M    ghcpr_8TmvWUcS1U1IKHT0levwg3
8.9M    haske_IlDhIe25uAn0WJY379Nu1M
3.4M    hoopl_JxODiSRz1e84NbH6nnZuUk
1.1M    hpc_CmUUQl5bURfBueJrdYfNs3
1.3M    integ_2aU3IZNMF9a7mQ0OzsZ0dS
1.8M    prett_7jIfj8VCGFf1WS0tIQ1XSZ
764K    proce_0hwN3CTKynhHQqQkChnSdH
1.7M    rts
19M     templ_BVMCZyLwIlfGfcqqzyUAI8
1.4M    termi_7qZwBlx3clR8sTBilJl253
6.2M    time_Hh2clZW6in4HpYHx5bLtb7
7.3M    trans_ALYlebOVzVI4kxbFX5SGhm
5.4M    unix_G4Yo1pNtYrk8nCq1cx8P9d




--
View this message in context: http://haskell.1045720.n5.nabble.com/Binary-bloat-in-7-10-tp5768067p5768083.html
Sent from the Haskell - Glasgow-haskell-users mailing list archive at Nabble.com.


More information about the Glasgow-haskell-users mailing list