[linux-programlama] ccache

---------

New Message Reply About this list Date view Thread view Subject view Author view Attachment view

From: Devrim GUNDUZ (devrim@gunduz.org)
Date: Wed 01 Sep 2004 - 14:51:24 EEST


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Merhaba,

Geçenlerde PostgreSQL e-posta listelerinin birine ccache ile ilgili bir
ileti gönderildi. İletiye göre, birisi bunu deneyerek PostgreSQL'i 46
saniyede derlemis (benim rekorum 2.5 dakika civarlarinda idi, tek
islemcili bir XEON 3.0 makinede, RHEL üstünde( HT daha dogrusu ) ).

http://www-106.ibm.com/developerworks/linux/library/l-ccache.html

Deneyesim geldi. PostgreSQL'i CVS'ten indirdim, once ccache kullanip 2
dakika 52 saniyede derledim. Sonra make clean yaptim ve tekrar make.
iste sonuc:

All of PostgreSQL successfully made. Ready to install.

real 0m36.667s
user 0m24.500s
sys 0m8.040s

36 saniye! inanılmaz iyi bir süre.

Cache istatistikleri:

# ccache -s
cache hit 517
cache miss 1118
called for link 75
compile failed 30
preprocessor error 20
not a C/C++ file 78
autoconf compile/link 214
no input file 10
files in cache 2236
cache size 19.3 Mbytes
max cache size 976.6 Mbytes

not a C/C++ file dedigi bison dosyalarI, flex dosyalarI. Onlar da olmasa
demek ki sure daha da kIsalacak :)

Bilmeyenlere yardımcı olur belki...

Saygılar,
- --
Devrim GUNDUZ
devrim~gunduz.org devrim.gunduz~linux.org.tr
                        http://www.tdmsoft.com
                        http://www.gunduz.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFBNbe+tl86P3SPfQ4RAlLSAJ9OAdmcHbA77avLRoQoa3FiEjMgPgCdEafE
QgrMuixm9PIJd+6pHQtkFec=
=e5V6
-----END PGP SIGNATURE-----


New Message Reply About this list Date view Thread view Subject view Author view Attachment view

---------

Bu arsiv hypermail 2.1.2 tarafindan uretilmistir.