Hi J, On 2019-08-24, J <mailinglists-sage-supp...@927589452.de> wrote: > to do a overview of a rather different set of `SAGE` methods, I would > like to not only track the time used to run a command, but also the > memory usage of the commands. > > Is there a recommended way to do this?
I am a bit surprised that nobody answered this question yet. Sorry. There is the get_memory_usage command, that might provide what you asked for. But I am not sure if I understand correctly what you want to achieve: Do you have a lengthy program and you want to understand how much resources each individual command in your program takes? In that case, it might make sense to use a profiler (e.g., %prun or %crun). Or do you only want to know how much time and memore the program takes in total? In that case, %time and get_memory_usage would probably give you the answer. Best regards, Simon -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-support/qkir96%245tgi%242%40blaine.gmane.org.