#6028: get_memory_usage() sucks performance wise on Solaris
----------------------+-----------------------------------------------------
Reporter: mabshoff | Owner: mabshoff
Type: defect | Status: new
Priority: blocker | Milestone: sage-4.0
Component: solaris | Keywords:
----------------------+-----------------------------------------------------
Use /proc/$PID/psinfo instead of top - see
* http://getthegood.com/TechNotes/Papers/ProcStatistics.html
* http://manpages.unixforum.co.uk/man-pages/unix/solaris-10-11_06/4/proc-
man-page.html
get_memory_usage() costs about '''1 second''' of CPU time per invocation.
This makes sage/rings/tests.py time out since that code calls it a couple
thousand times.
Cheers,
Michael
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6028>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---