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

Bug 36604

Summary: emerge build times database
Product: Portage Development Reporter: J.C. Wren <jcwren>
Component: Enhancement/Feature RequestsAssignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description J.C. Wren 2003-12-27 14:59:58 UTC
Perhaps this exists, and I've just missed finding it.  What I would propose is something akin to the gentoo stats page, only for emerge times of various packages on various machines.  

A script would be run by the user that would process /var/log/emerge.log, /proc/meminfo and /proc/cpuinfo.  The data would be uploaded to a server, would  include the package name, the time it took to emerge, the amount of memory on the machine, cpu speed, and cpu model.  

A prospective user could check to see how long emerging KDE might take on this machine (or at least a specific KDE package, such as kde-base).  Perhaps some generics could be handled such that when a user processes the log for "emerge kde", a min, max, and average number of packages, and the time it took could be generated.

About the only change I see necessary to implement this would be to added to the emerge log what 'nice' level the emerge is running at.  This would obviously skew results one way or the other, if it's been nice'd up or down.

Reproducible: Always
Steps to Reproduce:
Comment 1 SpanKY gentoo-dev 2003-12-27 18:10:41 UTC

*** This bug has been marked as a duplicate of 10365 ***