1 |
On 15/06/2014 00:20, Mick wrote: |
2 |
> I looked at how long some packages are taking these days. I noticed that |
3 |
> firefox and chromium take a lot longer to emerge than was the case 3-4 years |
4 |
> ago. For example: |
5 |
> |
6 |
> # genlop -t www-client/firefox |
7 |
> * www-client/firefox |
8 |
> |
9 |
> Sat Dec 18 17:19:14 2010 >>> www-client/firefox-3.6.13 |
10 |
> merge time: 1 minute and 16 seconds. |
11 |
> [snip ...] |
12 |
> |
13 |
> Sat Jun 14 22:37:43 2014 >>> www-client/firefox-24.6.0 |
14 |
> merge time: 54 minutes and 59 seconds. |
15 |
> |
16 |
> |
17 |
> # genlop -t www-client/chromium |
18 |
> * www-client/chromium |
19 |
> |
20 |
> Sat Aug 6 09:44:27 2011 >>> www-client/chromium-13.0.782.107-r1 |
21 |
> merge time: 30 minutes and 52 seconds. |
22 |
> [snip ...] |
23 |
> |
24 |
> Sat Jun 14 21:42:44 2014 >>> www-client/chromium-35.0.1916.153 |
25 |
> merge time: 1 hour, 34 minutes and 49 seconds. |
26 |
> |
27 |
> |
28 |
> I am wondering if something in my configuration is causing this, rather than |
29 |
> my laptop getting older for the continuously evolving and perhaps more |
30 |
> demanding (in terms of resources to compile) software code. Have you noticed |
31 |
> something similar? |
32 |
> |
33 |
|
34 |
|
35 |
Compilers are getting clever, I observe that to be the main reason. |
36 |
|
37 |
In years gone by, a compiler would start at the top of the .c and work |
38 |
towards the bottom, generating code. Hey, it works, even if the code is |
39 |
not the most optimum code possible. |
40 |
|
41 |
Nowadays, compilers spend ages figuring out the best code paths and |
42 |
optimizing. This takes time and RAM - gobs and gobs and gobs of RAM. |
43 |
Price of progress. |
44 |
|
45 |
A secondary factor is that packages just get bigger overall with time. |
46 |
Often with bloat, but not always. |
47 |
|
48 |
Your firefox example is very skewed - in the 3.x days firefox was really |
49 |
just a front end thingie and the bulk of the code was in backend |
50 |
packages (eg xulrunner). |
51 |
|
52 |
Chromium is a good example, that one has grown *enormously* |
53 |
|
54 |
And maybe your disks are tired too :-) . You do have hdparm results from |
55 |
4 years ago to compare? |
56 |
|
57 |
|
58 |
-- |
59 |
Alan McKinnon |
60 |
alan.mckinnon@×××××.com |