1 |
On 10/16/2017 09:42 PM, Philip Webb wrote: |
2 |
> 171016 Ian Zimmerman wrote: |
3 |
>> ~$ time equery -Cq b /usr/bin/equery |
4 |
>> app-portage/gentoolkit-0.4.0 |
5 |
>> real 0m27.594s |
6 |
>> user 0m8.780s |
7 |
>> sys 0m0.456s |
8 |
> |
9 |
> My desktop machine has : |
10 |
> |
11 |
> CPU : AMD X8 FX8370E 8-core 4,3 GHz 16 MB 32 nm 95 W |
12 |
> SSD : Kingston SSDNow V300 240 GB SATA RW 450 MB/s |
13 |
> |
14 |
> And I get : |
15 |
> |
16 |
> root:530 ~> time equery -Cq b /usr/bin/equery |
17 |
> app-portage/gentoolkit-0.4.0 |
18 |
> real 0m6.362s |
19 |
> user 0m5.845s |
20 |
> sys 0m0.178s |
21 |
> |
22 |
> but also NB : |
23 |
> |
24 |
> root:533 ~> time equery b /usr/bin/equery |
25 |
> f^C * Searching for /usr/bin/equery ... |
26 |
> app-portage/gentoolkit-0.4.0 (/usr/bin/equery -> ../lib/python-exec/python-exec2) |
27 |
> real 0m3.776s |
28 |
> user 0m3.651s |
29 |
> sys 0m0.092s |
30 |
> |
31 |
> How reliable is 'time' (smile) ? |
32 |
> |
33 |
|
34 |
Just a couple more data points, on my machine, with: |
35 |
|
36 |
CPU : Intel(R) Core(TM) i7-6850K CPU @ 3.60GHz |
37 |
SSD : Crucial MX200 1 TB SATA |
38 |
|
39 |
And a hot cache: |
40 |
|
41 |
$ time equery -Cq b /usr/bin/equery |
42 |
app-portage/gentoolkit-0.4.0 |
43 |
dev-lang/python-exec-2.4.5 |
44 |
|
45 |
real 0m6.655s |
46 |
user 0m6.462s |
47 |
sys 0m0.193s |
48 |
|
49 |
$ time equery b /usr/bin/equery |
50 |
* Searching for /usr/bin/equery ... |
51 |
app-portage/gentoolkit-0.4.0 (/usr/bin/equery -> |
52 |
../lib/python-exec/python-exec2) |
53 |
dev-lang/python-exec-2.4.5 (/usr/lib/python-exec/python-exec2) |
54 |
|
55 |
real 0m6.598s |
56 |
user 0m6.439s |
57 |
sys 0m0.160s |
58 |
|
59 |
$ time portageq owners / /usr/bin/portageq |
60 |
sys-apps/portage-2.3.11 |
61 |
/usr/bin/portageq |
62 |
|
63 |
real 0m1.391s |
64 |
user 0m1.348s |
65 |
sys 0m0.044s |
66 |
|
67 |
$ time qfile /usr/bin/qfile |
68 |
app-portage/portage-utils (/usr/bin/qfile) |
69 |
|
70 |
real 0m0.104s |
71 |
user 0m0.085s |
72 |
sys 0m0.019s |
73 |
|
74 |
|
75 |
I think we have a winner here... qfile even takes the same -C and -q |
76 |
options as equery. |
77 |
|
78 |
-- |
79 |
Jonathan Callen |