OK. Thank you very much. Will try. On Tuesday, June 2, 2015 at 8:11:20 PM UTC+3, Aaron Meurer wrote: > > The first step would be to use a profiler to figure out what part of > SymPy is using the CPU. The profiler in the standard library is a good > start (python -m profile). Another option that I like a lot is > pyinstrument. > > It's also possible that your own code is doing something inefficiently. > > In general, the CPU usage of various functions like simplify and > integrate can vary widely depending on what kind of expressions you > pass to them. > > Aaron Meurer > > On Tue, Jun 2, 2015 at 11:53 AM, Paul Royik <[email protected] > <javascript:>> wrote: > > Hello. > > I noticed that sympy uses much CPU. > > Is there any way I can control its usage or control the code where it > might > > occur. > > For now my code uses match extensively, but I still don't know what > > functions use much CPU: simplify, integrate, match etc. > > Also, is clear_cache impacts CPU usage? > > > > Thank you. > > > > -- > > You received this message because you are subscribed to the Google > Groups > > "sympy" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to [email protected] <javascript:>. > > To post to this group, send email to [email protected] > <javascript:>. > > Visit this group at http://groups.google.com/group/sympy. > > To view this discussion on the web visit > > > https://groups.google.com/d/msgid/sympy/8776e1bd-d7fe-431a-bfa3-25a46708d125%40googlegroups.com. > > > > For more options, visit https://groups.google.com/d/optout. >
-- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/a8a9f2a8-4609-490c-bec8-0d2ac15fcbf0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
