#6027: [with patch, positive review] get_memory_usage() sucks performance wise
on
OSX
----------------------+-----------------------------------------------------
Reporter: mabshoff | Owner: mabshoff
Type: defect | Status: new
Priority: critical | Milestone: sage-4.0.2
Component: porting | Keywords:
Reviewer: | Author:
Merged: |
----------------------+-----------------------------------------------------
Comment(by ncalexan):
Applies clean, tested fine on sage.math. After patch on OS X 10.5:
{{{
sage: sage.misc.getusage.get_memory_usage()
141.22265625
sage: %timeit sage.misc.getusage.get_memory_usage()
100 loops, best of 3: 5.24 ms per loop
sage: sage.misc.darwin_utilities
sage.misc.darwin_utilities
sage: sage.misc.darwin_utilities.darwin_memory_usage()
148082688L
sage: %timeit sage.misc.darwin_utilities.darwin_memory_usage()
100 loops, best of 3: 5.22 ms per loop
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6027#comment:5>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---