Tiny Core Extensions > TCE 1.x
ccache
Jason W:
Thanks, it is done. For those not familiar with ccache here is a comparison between a fresh compile, or second compile without ccache, and a recompile with ccache:
First run - time ./configure --prefix=/usr/local && time make:
--- Code: ---(this is time ./configure --prefix=/usr/local first time)
CMake has bootstrapped. Now run make.
real 16m5.336s
user 11m48.634s
sys 0m54.403s
root@box:/mnt/hda2/cmake/cmake-2.6.4#
(this is amke first time)
[100%] Built target documentation
real 26m33.680s
user 20m56.428s
sys 1m11.649s
root@box:/mnt/hda2/cmake/cmake-2.6.4#
--- End code ---
Recompiling with same options using ccache:
--- Code: ---(./configure --prefix=/usr/local)
CMake has bootstrapped. Now run make.
real 2m16.557s
user 1m36.454s
sys 0m25.858s
(make)
[100%] Built target documentation
real 2m28.569s
user 1m45.390s
sys 0m21.255s
root@box:/mnt/hda2/cmake/cmake-2.6.4#
--- End code ---
The reason I mention this comparison is that ccache is a way to make better use of older pentium 2 and 3 for compiling, as we know tweaking and recompiling is a common procedure with extension builds and this extension can save a lot of time.
Navigation
[0] Message Index
[*] Previous page
Go to full version