Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 686000

Summary: app-portage/gentoolkit-0.4.5 performance issue with equery b
Product: Portage Development Reporter: Ulenrich <ulenrich>
Component: ToolsAssignee: Portage Tools Team <tools-portage>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: my homebrew finder catches results faster

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
---