Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 686000 - app-portage/gentoolkit-0.4.5 performance issue with equery b
Summary: app-portage/gentoolkit-0.4.5 performance issue with equery b
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-15 03:00 UTC by Ulenrich
Modified: 2019-05-15 07:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
my homebrew finder catches results faster (genbelongs,526 bytes, application/x-shellscript)
2019-05-15 03:00 UTC, Ulenrich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ulenrich 2019-05-15 03:00:30 UTC
Created attachment 576712 [details]
my homebrew finder catches results faster

I couldn't bear waiting times to lookup what a file belong to,
so I scripted my own finder, which is a 100 times faster, why?

--- output using time tool:
usr/local/bin # time equery b /usr/bin/equery
 * Searching for /usr/bin/equery ... 
app-portage/gentoolkit-0.4.5 (/usr/bin/equery -> ../lib/python-exec/python-exec2)
dev-lang/python-exec-2.4.6 (/usr/lib/python-exec/python-exec2)

real	0m17,238s
user	0m16,816s
sys	0m0,370s
/usr/local/bin # time genbelongs /usr/bin/equery
=app-portage/gentoolkit-0.4.5::/usr/bin/equery

real	0m0,175s
user	0m0,086s
sys	0m0,086s
---