[Maxima] maxima is 100 times slower than maple
dennis.darland at yahoo.com
Sat Jun 16 20:08:04 CDT 2012
I've been working on numerical solution of differential equations. My (Ruby) program generates either Maple or Maxima. Maple generally is much faster. ( http://sode.sourceforge.net/ ) I just added pre-computing factorials. On a simple problem these were the results
Language Before After
Maple 1 min 40 sec 29 sec
Maxima 40min 33 sec 31 min 58 sec
Dennis J. Darland
dennis.darland at yahoo.com
"According to the World Health Organization, the warming of the planet caused an additional 140,000 deaths in 2004, as compared with the number of deaths there would have been had average global temperatures remained as they were during the period 1961 to 1990. This means that climate change is already causing, every week, as many deaths as occurred in the terrorist attacks on September 11, 2001"
-- Peter Singer _Practical Ethics, Third Edition_, p. 216.
--- On Thu, 6/14/12, Henry Baker <hbaker1 at pipeline.com> wrote:
> From: Henry Baker <hbaker1 at pipeline.com>
> Subject: Re: [Maxima] maxima is 100 times slower than maple
> To: "Soegtrop, Michael" <michael.soegtrop at intel.com>
> Cc: "maxima at math.utexas.edu" <maxima at math.utexas.edu>
> Date: Thursday, June 14, 2012, 9:36 AM
> If I remember correctly, Maple is
> capable of doing a lot of "memoization" & "hash
> consing", so that redundant computations are recognized
> & not performed redundantly.
> For some computations this might help a lot.
> At 05:53 AM 6/14/2012, Soegtrop, Michael wrote:
> >Dear Dmitry,
> >I compared some symbolic integration cases between
> Mathematica 8.0.4 and wxMaxima 5.27.0 and found that in some
> cases wxMaxima is quite a bit faster. I don't think that
> either Maxima or Mathematica or Maple is especially fast or
> slow in general, I think they just do some things in
> different ways, and a factor of 100 is not much if different
> algorithms are used, or e.g. simplifications are run on
> every step or only in the end. A single use case doesn't
> really tell a lot on which algorithm is better.
> >But I think it would be interesting to collect a set of
> profiling cases, which are translated to Maxima, Maple and
> Mathematica and have a small database. I can do some
> Mathematica ports and tests.
> >Best regards,
> >-----Original Message-----
> >From: maxima-bounces at math.utexas.edu
> [mailto:maxima-bounces at math.utexas.edu]
> On Behalf Of Dmitry Shkirmanov
> >Sent: Thursday, June 14, 2012 2:15 PM
> >To: maxima at math.utexas.edu
> >Subject: [Maxima] maxima is 100 times slower than maple
> >Hello, list. I am comparing the speed of execution of
> maple and maxima programs. And maple is 100 times faster
> then maxima for symbolic computation. For example, to run
> the attached program maxima needs about
> >50 seconds on my laptop. To run the same program(of
> course, syntax of program must be accordingly changed) maple
> needs about 0.5 seconds.
> >I am using debian stable, maxima is configured to use
> sbcl, version of maxima is 5.27.0 Is there any possibility
> to speed up maxima?
> Maxima mailing list
> Maxima at math.utexas.edu
More information about the Maxima