Open glenfe opened 3 years ago
The sizes of things in libs/math
:
158M libs/math
63M libs/math/doc
60M libs/math/reporting
34M libs/math/test
1.5M libs/math/example
728K libs/math/tools
544K libs/math/dot_net_example
363K libs/math/src
80K libs/math/include_private
48K libs/math/minimax
27K libs/math/config
5.0K libs/math/vc71_fix
4.0K libs/math/meta
4.0K libs/math/build
I was wondering if anyone would notice 😉
One contributor is the size of some graphics and I am working on changing the plot program to help with this, but not in time for this release.
But I suspect most of the cause is the steady increase in the number of functions and distributions provided.
But I am sure that all Boost.Math contributors note that size is an issue and will look at ways of reducing it.
Perhaps we need to keep some of the testing code and results separate from the Boost download?
Sorry, but I don’t see a quick fix for this.
Paul
From: Glen Fernandes notifications@github.com Sent: 17 December 2020 15:55 To: boostorg/math math@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: Re: [boostorg/math] Math size in Boost release (#457)
The sizes of things in libs/math:
158M libs/math
63M libs/math/doc
60M libs/math/reporting
34M libs/math/test
1.5M libs/math/example
728K libs/math/tools
544K libs/math/dot_net_example
363K libs/math/src
80K libs/math/include_private
48K libs/math/minimax
27K libs/math/config
5.0K libs/math/vc71_fix
4.0K libs/math/meta
4.0K libs/math/build
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/boostorg/math/issues/457#issuecomment-747527699, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAIG4AMI5LBMDODNYJTKX2LSVISVTANCNFSM4U73S3TQ.
On Thu, Dec 17, 2020, 20:00 Paul A. Bristow notifications@github.com wrote:
Sorry, but I don’t see a quick fix for this.
Some ideas:
Doxygen may change the file name on minor changes. So during the development phase a bunch of duplicate files could appear.
It's fine if the reduction can't make the next release, but to know that someone is now actively working to help address it is good enough for me.
I've pulled some low-hanging fruit (files that shouldn't have been in there in the first place as they're too large) and chopped it down to 104Mb. Better but still not great.
The rest is down to volume of stuff, rather than individual culprits.
Many thanks (as always) John.
Maybe ultimately we need to have two separate archives, one for the Boost library sources, and one for Boost library documentation. (Doc sources can go in the former, but generated documentation only in the latter).
There's 11Mb of generated html files, but I'm wary of moving to "online only" documentation. There's 21Mb of images for the docs, again we could go online only I guess.
Why not online? I mean we have a live version of the generated boost docs created by CI, so I don't see a reason to keep generated files in the repo. If a user needs it locally thy can generate them themselves. And if that alone chops of 32MB of data, then I'd say that is well worth it.
All of
libs
is 582M andlibs/math
is 158M of that. Any chance this could be reduced? Most of the weight is inlibs/math/doc
andlibs/math/reporting
.