Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
728b7f18
Kaydet (Commit)
728b7f18
authored
Tem 10, 2015
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
rudimentary documentation for the includebloat script
Change-Id: I52209b70b3d93e488e6c9d16fefd179f2ac06afb
üst
6ee9ca5a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
1 deletion
+18
-1
includebloat.awk
bin/includebloat.awk
+18
-1
No files found.
bin/includebloat.awk
Dosyayı görüntüle @
728b7f18
#!/usr/bin/gawk -f
# -*- tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# Generate a list of files included by the C++ compiler during the build
# sorted by the total bytes an included file contributed to preprocessor input.
# usage: first do a full build with "make check", then run this from $BUILDDIR
# NOTE: by default gbuild does not generate dependencies for system headers
# (in particular the C++ standard library), so those will NOT be counted
BEGIN
{
cmd
=
"find workdir/Dep/CxxObject/ -name *.d | xargs cat"
...
...
@@ -27,8 +42,10 @@ END {
close
(
cmd
)
}
PROCINFO
[
"sorted_in"
]
=
"@val_num_desc"
print
"sum total bytes included: "
totalsize
print
"sum total bytes included
(excluding system headers)
: "
totalsize
for
(
inc
in
totals
)
{
print
totals
[
inc
],
sizes
[
inc
],
includes
[
inc
],
inc
}
}
# vim: set noet sw=4 ts=4:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment