bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Texinfo release size statistics


From: Gavin Smith
Subject: Texinfo release size statistics
Date: Tue, 25 Oct 2022 20:10:31 +0100

I looked at some size stats.  Here they are, in no particular
order.

texinfo-6.7.tar.xz size 4.4MB
texinfo-6.8.tar.xz size 5.0MB
texinfo-6.8.90.tar.xz size 6.4MB

Largest directories in unpacked texinfo-6.8.90.tar.xz (with
'du --si . | sort -h')

2.8M    ./doc
2.8M    ./tp/t/results/indices
2.9M    ./gnulib/lib
2.9M    ./tp/tests/nested_formats
3.1M    ./tp/t/results/html_tests
3.2M    ./tp/t/results/plaintext_tests
3.3M    ./tp/t/results/def
3.6M    ./tp/maintain/lib/libintl-perl/lib/Locale/RecodeData
3.9M    ./tp/maintain/lib/libintl-perl/lib
3.9M    ./tp/maintain/lib/libintl-perl/lib/Locale
4.0M    ./gnulib
4.7M    ./tp/Texinfo/XS
4.7M    ./tp/t/results/converters_tests
5.8M    ./tp/t/results/formats_encodings
6.1M    ./tp/maintain/lib/libintl-perl
6.5M    ./tp/Texinfo
7.0M    ./tp/maintain/lib
7.7M    ./po
7.8M    ./tp/maintain
8.6M    ./tp/t/results/sectioning
13M     ./tp/tests/layout
13M     ./tp/tests/layout/res_parser
24M     ./tp/tests
56M     ./tp/t/results
57M     ./tp/t
95M     ./tp
120M    .

Largest directories in unpacked texinfo-6.8.tar.xz

2.2M    ./doc
2.3M    ./tp/tests/indices
2.4M    ./tp/t/results/indices
2.6M    ./gnulib/lib
2.6M    ./tp/tests/nested_formats
2.9M    ./tp/t/results/def
3.6M    ./gnulib
3.6M    ./tp/maintain/lib/libintl-perl/lib/Locale/RecodeData
3.9M    ./tp/maintain/lib/libintl-perl/lib
3.9M    ./tp/maintain/lib/libintl-perl/lib/Locale
4.0M    ./tp/Texinfo/XS
5.3M    ./tp/t/results/sectioning
5.4M    ./tp/tests/layout/res_parser
5.5M    ./tp/tests/layout
5.5M    ./tp/Texinfo
6.1M    ./tp/maintain/lib/libintl-perl
7.0M    ./tp/maintain/lib
7.1M    ./po
7.7M    ./tp/t/results/converters_tests
7.8M    ./tp/maintain
14M     ./tp/tests
40M     ./tp/t/results
41M     ./tp/t
68M     ./tp
91M     .

Largest new files and directories, measured in build directory:

181k    po/sr.po
185k    tp/tests/layout/res_parser/formatting_macro_expand/
193k    tp/tests/other/
209k    tp/t/results/init_files_tests/
254k    doc/tp_api/texi2any_internals.info
271k    tp/tests/layout/res_parser/formatting_latex/formatting.tex
279k    tp/t/results/html_tests/itemize_arguments.pl
283k    
tp/tests/layout/res_parser/formatting_epub/formatting_epub_package/EPUB/xhtml/chapter.xhtml
283k    
tp/tests/layout/res_parser/formatting_epub_nodes/formatting_epub_package/EPUB/xhtml/chapter.xhtml
283k    tp/t/results/formats_encodings/at_commands_in_refs_latin1/
291k    tp/t/results/formats_encodings/at_commands_in_refs_utf8/
300k    tp/t/results/html_tests/itemize_arguments_enable_encoding.pl
308k    tp/tests/layout/res_parser/formatting_latex/
390k    tp/tests/layout/res_parser/formatting_html_no_texi2html/formatting.html
426k    tp/tests/layout/res_parser/formatting_html_no_texi2html/
508k    tp/tests/layout/res_parser/formatting_enable_encoding/formatting.html
517k    tp/tests/formatting/an_ïmage.png
517k    
tp/tests/formatting/res_parser/non_ascii_test_epub/osé_utf8_epub_package/EPUB/images/1-an_image.png
517k    
tp/tests/formatting/res_parser/non_ascii_test_epub/osé_utf8_epub_package/EPUB/images/2-an_image.png
517k    tp/tests/layout/res_parser/formatting_xhtml/formatting.html
525k    tp/tests/layout/res_parser/formatting_numerical_entities/formatting.html
545k    tp/tests/layout/res_parser/formatting_enable_encoding/
553k    tp/tests/layout/res_parser/formatting_xhtml/
562k    tp/tests/layout/res_parser/formatting_numerical_entities/
599k    
tp/tests/layout/res_parser/formatting_epub/formatting_epub_package/EPUB/xhtml/
611k    tp/tests/layout/res_parser/formatting_epub/formatting_epub_package/EPUB/
623k    tp/tests/layout/res_parser/formatting_inline_css/formatting.html
627k    tp/tests/layout/res_parser/formatting_epub/formatting_epub_package/
660k    tp/tests/layout/res_parser/formatting_inline_css/
668k    
tp/tests/layout/res_parser/formatting_epub_nodes/formatting_epub_package/EPUB/xhtml/
685k    tp/tests/layout/res_parser/formatting_epub/
791k    
tp/tests/layout/res_parser/formatting_epub_nodes/formatting_epub_package/EPUB/
807k    
tp/tests/layout/res_parser/formatting_epub_nodes/formatting_epub_package/
865k    tp/tests/layout/res_parser/formatting_epub_nodes/
1.1M    tp/tests/formatting/res_parser/non_ascii_test_epub/
1.1M    
tp/tests/formatting/res_parser/non_ascii_test_epub/osé_utf8_epub_package/
1.1M    
tp/tests/formatting/res_parser/non_ascii_test_epub/osé_utf8_epub_package/EPUB/
1.1M    
tp/tests/formatting/res_parser/non_ascii_test_epub/osé_utf8_epub_package/EPUB/images/
1.4M    tp/t/results/formats_encodings/at_commands_in_refs_latin1.pl
1.4M    tp/t/results/formats_encodings/at_commands_in_refs.pl
1.4M    tp/t/results/formats_encodings/at_commands_in_refs_utf8.pl
1.6M    tp/t/results/converters_tests/definition_commands.pl
3.0M    tp/t/results/latex_tests/
12M     tp/t/results/formats_encodings/

If we wanted to get the size of the distribution down, the texi2any test
suites would be the first place to start.

There is no reference to t/formats_encodings.t in the ChangeLog, despite
it appearing to be the largest use of space of anything.  However, a
"git log" reveals that it was split from the existing t/converter_tests.t
(on Mon Sep 13 22:03:08 2021), so there may not be much new storage use here.

The large image directories near the bottom of the list also caused
concern.  It seems like an easy win to shrink 

./tests/formatting/out_parser/non_ascii_test_epub/osé_utf8_epub_package/EPUB/images/1-an_image.png

and some other files.  The current size is 517 kB.  Shrinking these
would save a few megabytes when uncompressed.

Tests involving tp/tests/layout/formatting.texi use a lot of space
because they appear to test all of the Texinfo commands at least
four different times, in various contexts using macro expansion.

I'm not saying that this is a problem, but I think it's worth at
least being aware of some basic statistics about the project that
we are putting out.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]